patrickvonplaten commited on
Commit
38c4bf2
1 Parent(s): 8c3498d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -18
app.py CHANGED
@@ -289,24 +289,18 @@ with gr.Blocks() as demo:
289
  with gr.Row():
290
  prompt = gr.Markdown("")
291
  with gr.Blocks():
292
- with gr.Row():
293
- with gr.Column() as c1:
294
- image_1 = gr.Image(interactive=False)
295
- image_1.style(height=256, width=256)
296
- image_1_button = gr.Button("Select 1").style(full_width=True)
297
- with gr.Column() as c2:
298
- image_2 = gr.Image(interactive=False)
299
- image_2.style(height=256, width=256)
300
- image_2_button = gr.Button("Select 2").style(full_width=True)
301
- with gr.Row():
302
- with gr.Column() as c3:
303
- image_3 = gr.Image(interactive=False)
304
- image_3.style(height=256, width=256)
305
- image_3_button = gr.Button("Select 3").style(full_width=True)
306
- with gr.Column() as c4:
307
- image_4 = gr.Image(interactive=False)
308
- image_4.style(height=256, width=256)
309
- image_4_button = gr.Button("Select 4").style(full_width=True)
310
 
311
  start_button.click(
312
  fn=start,
 
289
  with gr.Row():
290
  prompt = gr.Markdown("")
291
  with gr.Blocks():
292
+ with gr.Column() as c1:
293
+ image_1 = gr.Image(interactive=False)
294
+ image_1_button = gr.Button("Select 1").style(full_width=True)
295
+ with gr.Column() as c2:
296
+ image_2 = gr.Image(interactive=False)
297
+ image_2_button = gr.Button("Select 2").style(full_width=True)
298
+ with gr.Column() as c3:
299
+ image_3 = gr.Image(interactive=False)
300
+ image_3_button = gr.Button("Select 3").style(full_width=True)
301
+ with gr.Column() as c4:
302
+ image_4 = gr.Image(interactive=False)
303
+ image_4_button = gr.Button("Select 4").style(full_width=True)
 
 
 
 
 
 
304
 
305
  start_button.click(
306
  fn=start,