tokeron commited on
Commit
6960fd2
1 Parent(s): 5da5f21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def generate_images(prompt):
15
 
16
  with gr.Blocks() as demo:
17
  text_input = gr.Textbox(label="Enter prompt")
18
- gallery = gr.Gallery(label="Generated Images").style(grid=[2, 3], height='auto') # Adjust grid as needed
19
  text_input.change(fn=generate_images, inputs=text_input, outputs=gallery)
20
 
21
  demo.launch()
 
15
 
16
  with gr.Blocks() as demo:
17
  text_input = gr.Textbox(label="Enter prompt")
18
+ gallery = gr.Gallery(label="Generated Images", columns=4, rows=6)
19
  text_input.change(fn=generate_images, inputs=text_input, outputs=gallery)
20
 
21
  demo.launch()