Kims12 commited on
Commit
13fbdd7
Β·
verified Β·
1 Parent(s): d58b205

Update app.py

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