Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -277,6 +277,12 @@ with gr.Blocks(
|
|
| 277 |
|
| 278 |
seed_button.click(fn=create_random_seed, outputs=[seed, seed_text])
|
| 279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 280 |
gr.Examples(
|
| 281 |
examples=examples,
|
| 282 |
fn=generate_image,
|
|
|
|
| 277 |
|
| 278 |
seed_button.click(fn=create_random_seed, outputs=[seed, seed_text])
|
| 279 |
|
| 280 |
+
# Add after other gr.on() events:
|
| 281 |
+
seed_button.click(
|
| 282 |
+
fn=create_random_seed,
|
| 283 |
+
outputs=[seed, seed_text]
|
| 284 |
+
)
|
| 285 |
+
|
| 286 |
gr.Examples(
|
| 287 |
examples=examples,
|
| 288 |
fn=generate_image,
|