multimodalart HF staff commited on
Commit
661c7d4
1 Parent(s): fc365d2

UI all in same column

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -305,16 +305,16 @@ with gr.Blocks() as demo:
305
  prompt = gr.Markdown("")
306
  with gr.Blocks():
307
  with gr.Row():
308
- with gr.Column() as c1:
309
  image_1 = gr.Image(interactive=False)
310
  image_1_button = gr.Checkbox(False, label="Image 1").style(full_width=True)
311
- with gr.Column() as c2:
312
  image_2 = gr.Image(interactive=False)
313
  image_2_button = gr.Checkbox(False, label="Image 2").style(full_width=True)
314
- with gr.Column() as c3:
315
  image_3 = gr.Image(interactive=False)
316
  image_3_button = gr.Checkbox(False, label="Image 3").style(full_width=True)
317
- with gr.Column() as c4:
318
  image_4 = gr.Image(interactive=False)
319
  image_4_button = gr.Checkbox(False, label="Image 4").style(full_width=True)
320
  with gr.Row():
 
305
  prompt = gr.Markdown("")
306
  with gr.Blocks():
307
  with gr.Row():
308
+ with gr.Column(min_width=200) as c1:
309
  image_1 = gr.Image(interactive=False)
310
  image_1_button = gr.Checkbox(False, label="Image 1").style(full_width=True)
311
+ with gr.Column(min_width=200) as c2:
312
  image_2 = gr.Image(interactive=False)
313
  image_2_button = gr.Checkbox(False, label="Image 2").style(full_width=True)
314
+ with gr.Column(min_width=200) as c3:
315
  image_3 = gr.Image(interactive=False)
316
  image_3_button = gr.Checkbox(False, label="Image 3").style(full_width=True)
317
+ with gr.Column(min_width=200) as c4:
318
  image_4 = gr.Image(interactive=False)
319
  image_4_button = gr.Checkbox(False, label="Image 4").style(full_width=True)
320
  with gr.Row():