tokenid commited on
Commit
3f6d90e
·
1 Parent(s): b7ab867

update layout

Browse files
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -293,17 +293,12 @@ def run_demo():
293
  with gr.Column(scale=1):
294
 
295
  with gr.Row():
296
- with gr.Column(min_width=280):
297
- input_image1 = gr.Image(type='pil', image_mode='RGBA', label='Input Image 1', width=280)
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
- with gr.Column(min_width=280):
304
- processed_image1 = gr.Image(type='numpy', image_mode='RGB', label='Processed Image 1', width=280, interactive=False)
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')