Spaces:
fantos
/
Runtime error

arxivgpt kim commited on
Commit
637a6ee
ยท
verified ยท
1 Parent(s): 3d93a16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,8 +120,8 @@ with gr.Blocks() as demo:
120
 
121
  with gr.Tab("Merge"):
122
  with gr.Column():
123
- org_image = gr.Image(label="Background", type='pil', image_mode='RGBA', height=40) # ์˜ˆ์‹œ๋กœ ๋†’์ด ์กฐ์ ˆ
124
- add_image = gr.Image(label="Foreground", type='pil', image_mode='RGBA', height=40) # ์˜ˆ์‹œ๋กœ ๋†’์ด ์กฐ์ ˆ
125
  scale = gr.Slider(minimum=10, maximum=200, step=1, value=100, label="Scale of Foreground Image (%)")
126
  position = gr.Radio(choices=["์ค‘์•™ ๊ฐ€์šด๋ฐ", "์ƒ๋‹จ ์ขŒ์ธก", "์ƒ๋‹จ ๊ฐ€์šด๋ฐ", "์ƒ๋‹จ ์šฐ์ธก", "์ค‘์•™ ์ขŒ์ธก", "์ค‘์•™ ์šฐ์ธก", "ํ•˜๋‹จ ์ขŒ์ธก", "ํ•˜๋‹จ ๊ฐ€์šด๋ฐ", "ํ•˜๋‹จ ์šฐ์ธก"], value="์ค‘์•™ ๊ฐ€์šด๋ฐ", label="Position of Foreground Image")
127
  display_size = gr.Textbox(value="800x600", label="Display Size (Width x Height)")
 
120
 
121
  with gr.Tab("Merge"):
122
  with gr.Column():
123
+ org_image = gr.Image(label="Background", type='pil', image_mode='RGBA', height=400) # ์˜ˆ์‹œ๋กœ ๋†’์ด ์กฐ์ ˆ
124
+ add_image = gr.Image(label="Foreground", type='pil', image_mode='RGBA', height=400) # ์˜ˆ์‹œ๋กœ ๋†’์ด ์กฐ์ ˆ
125
  scale = gr.Slider(minimum=10, maximum=200, step=1, value=100, label="Scale of Foreground Image (%)")
126
  position = gr.Radio(choices=["์ค‘์•™ ๊ฐ€์šด๋ฐ", "์ƒ๋‹จ ์ขŒ์ธก", "์ƒ๋‹จ ๊ฐ€์šด๋ฐ", "์ƒ๋‹จ ์šฐ์ธก", "์ค‘์•™ ์ขŒ์ธก", "์ค‘์•™ ์šฐ์ธก", "ํ•˜๋‹จ ์ขŒ์ธก", "ํ•˜๋‹จ ๊ฐ€์šด๋ฐ", "ํ•˜๋‹จ ์šฐ์ธก"], value="์ค‘์•™ ๊ฐ€์šด๋ฐ", label="Position of Foreground Image")
127
  display_size = gr.Textbox(value="800x600", label="Display Size (Width x Height)")