arxivgpt kim
commited on
Update app.py
Browse files
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=
|
124 |
-
add_image = gr.Image(label="Foreground", type='pil', image_mode='RGBA', height=
|
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)")
|