Spaces:
Running
on
Zero
Running
on
Zero
clementchadebec
commited on
Commit
•
53f954d
1
Parent(s):
4d9112b
Update app.py
Browse files
app.py
CHANGED
@@ -135,5 +135,10 @@ with gr.Blocks(css=css) as demo:
|
|
135 |
inputs = [prompt, seed, randomize_seed],
|
136 |
outputs = [result]
|
137 |
)
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
demo.queue().launch()
|
|
|
135 |
inputs = [prompt, seed, randomize_seed],
|
136 |
outputs = [result]
|
137 |
)
|
138 |
+
seed.change(
|
139 |
+
fn = infer,
|
140 |
+
inputs = [prompt, seed, randomize_seed],
|
141 |
+
outputs = [result]
|
142 |
+
)
|
143 |
|
144 |
demo.queue().launch()
|