Spaces:
Runtime error
Runtime error
Mateo Fidabel
commited on
Commit
·
fef68a2
1
Parent(s):
6f417f5
Fixed grid on mobile devices
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ cond_img = gr.Image(label="Input", shape=(512, 512), value=default_example[2])\
|
|
110 |
.style(height=200)
|
111 |
|
112 |
output = gr.Gallery(label="Generated images")\
|
113 |
-
.style(height=200, rows=[2], columns=[
|
114 |
|
115 |
prompt = gr.Textbox(lines=1, label="Prompt", value=default_example[0])
|
116 |
negative_prompt = gr.Textbox(lines=1, label="Negative Prompt", value=default_example[1])
|
|
|
110 |
.style(height=200)
|
111 |
|
112 |
output = gr.Gallery(label="Generated images")\
|
113 |
+
.style(height=200, rows=[2], columns=[2], object_fit="contain")
|
114 |
|
115 |
prompt = gr.Textbox(lines=1, label="Prompt", value=default_example[0])
|
116 |
negative_prompt = gr.Textbox(lines=1, label="Negative Prompt", value=default_example[1])
|