Spaces:
Running
on
Zero
Running
on
Zero
tokenid
commited on
Commit
·
3f6d90e
1
Parent(s):
b7ab867
update layout
Browse files
app.py
CHANGED
@@ -293,17 +293,12 @@ def run_demo():
|
|
293 |
with gr.Column(scale=1):
|
294 |
|
295 |
with gr.Row():
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
with gr.Column(min_width=280):
|
300 |
-
input_image2 = gr.Image(type='pil', image_mode='RGBA', label='Input Image 2', width=280)
|
301 |
|
302 |
with gr.Row():
|
303 |
-
|
304 |
-
|
305 |
-
with gr.Column(min_width=280):
|
306 |
-
processed_image2 = gr.Image(type='numpy', image_mode='RGB', label='Processed Image 2', width=280, interactive=False)
|
307 |
|
308 |
with gr.Row():
|
309 |
preprocess_chk = gr.Checkbox(True, label='Remove background and recenter object')
|
|
|
293 |
with gr.Column(scale=1):
|
294 |
|
295 |
with gr.Row():
|
296 |
+
input_image1 = gr.Image(type='pil', image_mode='RGBA', label='Input Image 1')
|
297 |
+
input_image2 = gr.Image(type='pil', image_mode='RGBA', label='Input Image 2')
|
|
|
|
|
|
|
298 |
|
299 |
with gr.Row():
|
300 |
+
processed_image1 = gr.Image(type='numpy', image_mode='RGB', label='Processed Image 1', interactive=False)
|
301 |
+
processed_image2 = gr.Image(type='numpy', image_mode='RGB', label='Processed Image 2', interactive=False)
|
|
|
|
|
302 |
|
303 |
with gr.Row():
|
304 |
preprocess_chk = gr.Checkbox(True, label='Remove background and recenter object')
|