Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
945caaf
1
Parent(s):
ab2e71e
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ with gr.Blocks() as demo:
|
|
247 |
num_images_per_prompt,
|
248 |
]
|
249 |
gr.on(
|
250 |
-
[prompt.submit, negative_prompt.submit, run_button.click],
|
251 |
fn=randomize_seed_fn,
|
252 |
inputs=[seed, randomize_seed],
|
253 |
outputs=seed,
|
|
|
247 |
num_images_per_prompt,
|
248 |
]
|
249 |
gr.on(
|
250 |
+
triggers=[prompt.submit, negative_prompt.submit, run_button.click],
|
251 |
fn=randomize_seed_fn,
|
252 |
inputs=[seed, randomize_seed],
|
253 |
outputs=seed,
|