Rooni commited on
Commit
cbddf37
·
verified ·
1 Parent(s): 63163eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, grid=[2], height="auto")
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