Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,6 +102,7 @@ with gr.Blocks() as demo:
|
|
| 102 |
examples=example_prompts,
|
| 103 |
inputs=[prompt_input],
|
| 104 |
outputs=[output_image, seed_input],
|
|
|
|
| 105 |
cache_examples="lazy"
|
| 106 |
)
|
| 107 |
generate_button.click(
|
|
|
|
| 102 |
examples=example_prompts,
|
| 103 |
inputs=[prompt_input],
|
| 104 |
outputs=[output_image, seed_input],
|
| 105 |
+
fn=generate_image,
|
| 106 |
cache_examples="lazy"
|
| 107 |
)
|
| 108 |
generate_button.click(
|