Spaces:
Runtime error
Runtime error
Andrei Boiarov
commited on
Commit
·
893c03b
1
Parent(s):
2cf130e
Update app file
Browse files
app.py
CHANGED
@@ -56,9 +56,14 @@ with gr.Blocks() as demo:
|
|
56 |
)
|
57 |
btn = gr.Button("Generate image", scale=0)
|
58 |
|
59 |
-
gallery = gr.Gallery(
|
60 |
-
|
61 |
-
, columns=[3], rows=[1], height='auto', container=True)
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
btn.click(reconstruct, img, gallery)
|
64 |
|
|
|
56 |
)
|
57 |
btn = gr.Button("Generate image", scale=0)
|
58 |
|
59 |
+
# gallery = gr.Gallery(
|
60 |
+
# label="Generated images", show_label=False, elem_id="gallery"
|
61 |
+
# , columns=[3], rows=[1], height='auto', container=True)
|
62 |
+
|
63 |
+
gallery = gr.Gallery(columns=3,
|
64 |
+
rows=1,
|
65 |
+
height='600px',
|
66 |
+
object_fit='scale-down')
|
67 |
|
68 |
btn.click(reconstruct, img, gallery)
|
69 |
|