Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,7 +99,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 99 |
with gr.Row():
|
| 100 |
num_images = gr.Slider(label="Количество изображений", minimum=1, maximum=4, step=1, value=1, interactive=True)
|
| 101 |
with gr.Row():
|
| 102 |
-
gallery = gr.Gallery(show_label=False,
|
| 103 |
|
| 104 |
button.click(api_gradio, inputs=[prompt, negative, style, width, height, num_images], outputs=gallery)
|
| 105 |
|
|
|
|
| 99 |
with gr.Row():
|
| 100 |
num_images = gr.Slider(label="Количество изображений", minimum=1, maximum=4, step=1, value=1, interactive=True)
|
| 101 |
with gr.Row():
|
| 102 |
+
gallery = gr.Gallery(show_label=False, columns=2)
|
| 103 |
|
| 104 |
button.click(api_gradio, inputs=[prompt, negative, style, width, height, num_images], outputs=gallery)
|
| 105 |
|