Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ with gr.Blocks(css=css) as demo:
|
|
229 |
inputs=prompt,
|
230 |
outputs=[result, seed],
|
231 |
fn=generate,
|
232 |
-
cache_examples=
|
233 |
)
|
234 |
use_negative_prompt.change(
|
235 |
fn=lambda x: gr.update(visible=x),
|
|
|
229 |
inputs=prompt,
|
230 |
outputs=[result, seed],
|
231 |
fn=generate,
|
232 |
+
cache_examples=CACHE_EXAMPLES,
|
233 |
)
|
234 |
use_negative_prompt.change(
|
235 |
fn=lambda x: gr.update(visible=x),
|