Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -233,7 +233,8 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
| 233 |
examples=examples,
|
| 234 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 235 |
outputs=output,
|
| 236 |
-
cache_examples=
|
|
|
|
| 237 |
)
|
| 238 |
gr.on(
|
| 239 |
triggers=[btn_run.click, prompt.submit],
|
|
|
|
| 233 |
examples=examples,
|
| 234 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 235 |
outputs=output,
|
| 236 |
+
cache_examples=True,
|
| 237 |
+
cache_mode="lazy"
|
| 238 |
)
|
| 239 |
gr.on(
|
| 240 |
triggers=[btn_run.click, prompt.submit],
|