Spaces:
Sleeping
Sleeping
[Update]Add a two columns
Browse files
app.py
CHANGED
@@ -12,10 +12,10 @@ with gr.Blocks() as demo:
|
|
12 |
inbtw = gr.Button("Between")
|
13 |
text4 = gr.Textbox(label="prompt 1")
|
14 |
text5 = gr.Textbox(label="prompt 2")
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
|
21 |
demo.launch()
|
|
|
12 |
inbtw = gr.Button("Between")
|
13 |
text4 = gr.Textbox(label="prompt 1")
|
14 |
text5 = gr.Textbox(label="prompt 2")
|
15 |
+
with gr.Row:
|
16 |
+
with gr.Column(scale=1, min_width=300):
|
17 |
+
img1 = gr.Image("images/cheetah.jpg")
|
18 |
+
with gr.Column(scale=1, min_width=300):
|
19 |
+
img2 = gr.Image("images/cheetah.jpg")
|
20 |
|
21 |
demo.launch()
|