Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
@@ -236,6 +236,8 @@ with gr.Blocks(css_paths=pathlib.Path("style.css")) as demo:
|
|
236 |
inputs=prompt,
|
237 |
outputs=result,
|
238 |
fn=generate,
|
|
|
|
|
239 |
)
|
240 |
|
241 |
use_negative_prompt.change(
|
|
|
236 |
inputs=prompt,
|
237 |
outputs=result,
|
238 |
fn=generate,
|
239 |
+
cache_examples=True,
|
240 |
+
cache_mode="lazy",
|
241 |
)
|
242 |
|
243 |
use_negative_prompt.change(
|