Spaces:
Running
on
Zero
Running
on
Zero
change cache mode to lazy.
Browse files
app.py
CHANGED
@@ -231,6 +231,7 @@ with gr.Blocks() as demo:
|
|
231 |
outputs=[image_output],
|
232 |
fn=generate_examples,
|
233 |
cache_examples=True,
|
|
|
234 |
)
|
235 |
|
236 |
ui_btn_generate.click(
|
|
|
231 |
outputs=[image_output],
|
232 |
fn=generate_examples,
|
233 |
cache_examples=True,
|
234 |
+
cache_mode="lazy"
|
235 |
)
|
236 |
|
237 |
ui_btn_generate.click(
|