Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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()
|