Update app.py
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ with gr.Blocks() as demo:
|
|
| 118 |
output_images = gr.Gallery(label="Generated Images", elem_id="gallery", show_label=False)
|
| 119 |
|
| 120 |
# Connecting the button click to the image generation function
|
| 121 |
-
run_button.click(infer_gradio, inputs=[prompt_input
|
| 122 |
|
| 123 |
# Launch Gradio app
|
| 124 |
demo.launch()
|
|
|
|
| 118 |
output_images = gr.Gallery(label="Generated Images", elem_id="gallery", show_label=False)
|
| 119 |
|
| 120 |
# Connecting the button click to the image generation function
|
| 121 |
+
run_button.click(infer_gradio, inputs=[prompt_input], outputs=output_images)
|
| 122 |
|
| 123 |
# Launch Gradio app
|
| 124 |
demo.launch()
|