Commit
·
38c4bf2
1
Parent(s):
8c3498d
Update app.py
Browse files
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.
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
with gr.
|
302 |
-
|
303 |
-
|
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,
|