Kims12 commited on
Commit
fac8c9e
Β·
verified Β·
1 Parent(s): a3c1d36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -304,7 +304,7 @@ with gr.Blocks() as demo:
304
  with gr.Row():
305
  image1_input = gr.Image(type="pil", label="#1", image_mode="RGB", height=300, width=200)
306
  image2_input = gr.Image(type="pil", label="#2", image_mode="RGB", height=300, width=200)
307
- image3_input = gr.Image(type="pil", label="#3", image_mode="RGB", height=200, width=200)
308
  prompt_input = gr.Textbox(
309
  lines=3,
310
  placeholder="ν”„λ‘¬ν”„νŠΈλ₯Ό μž…λ ₯ν•˜κ±°λ‚˜ λΉ„μ›Œλ‘λ©΄ μžλ™ ν•©μ„±λ©λ‹ˆλ‹€.",
@@ -322,11 +322,11 @@ with gr.Blocks() as demo:
322
  with gr.Column(scale=1):
323
  with gr.Row():
324
  with gr.Column():
325
- output_image1 = gr.Image(label="μƒμ„±λœ 이미지 #1", height=600, width=400)
326
- output_image3 = gr.Image(label="μƒμ„±λœ 이미지 #3", height=600, width=400)
327
  with gr.Column():
328
- output_image2 = gr.Image(label="μƒμ„±λœ 이미지 #2", height=600, width=400)
329
- output_image4 = gr.Image(label="μƒμ„±λœ 이미지 #4", height=600, width=400)
330
 
331
  output_text = gr.Textbox(label="μƒνƒœ λ©”μ‹œμ§€", lines=4)
332
  prompt_display = gr.Textbox(label="μ‚¬μš©λœ ν”„λ‘¬ν”„νŠΈ (μ˜μ–΄)", visible=True, lines=4)
 
304
  with gr.Row():
305
  image1_input = gr.Image(type="pil", label="#1", image_mode="RGB", height=300, width=200)
306
  image2_input = gr.Image(type="pil", label="#2", image_mode="RGB", height=300, width=200)
307
+ image3_input = gr.Image(type="pil", label="#3", image_mode="RGB", height=300, width=200)
308
  prompt_input = gr.Textbox(
309
  lines=3,
310
  placeholder="ν”„λ‘¬ν”„νŠΈλ₯Ό μž…λ ₯ν•˜κ±°λ‚˜ λΉ„μ›Œλ‘λ©΄ μžλ™ ν•©μ„±λ©λ‹ˆλ‹€.",
 
322
  with gr.Column(scale=1):
323
  with gr.Row():
324
  with gr.Column():
325
+ output_image1 = gr.Image(label="μƒμ„±λœ 이미지 #1", height=450, width=300)
326
+ output_image3 = gr.Image(label="μƒμ„±λœ 이미지 #3", height=450, width=300)
327
  with gr.Column():
328
+ output_image2 = gr.Image(label="μƒμ„±λœ 이미지 #2", height=450, width=300)
329
+ output_image4 = gr.Image(label="μƒμ„±λœ 이미지 #4", height=450, width=300)
330
 
331
  output_text = gr.Textbox(label="μƒνƒœ λ©”μ‹œμ§€", lines=4)
332
  prompt_display = gr.Textbox(label="μ‚¬μš©λœ ν”„λ‘¬ν”„νŠΈ (μ˜μ–΄)", visible=True, lines=4)