Spaces:
Running
on
Zero
Running
on
Zero
[maintenance] add lazy caching
Browse files
app.py
CHANGED
@@ -257,7 +257,7 @@ with gr.Blocks(css=css) as demo:
|
|
257 |
inputs=[input_image, prompt],
|
258 |
outputs=[result, seed],
|
259 |
fn=infer,
|
260 |
-
cache_examples=
|
261 |
|
262 |
gr.on(
|
263 |
triggers=[run_button.click, prompt.submit],
|
|
|
257 |
inputs=[input_image, prompt],
|
258 |
outputs=[result, seed],
|
259 |
fn=infer,
|
260 |
+
cache_examples="lazy")
|
261 |
|
262 |
gr.on(
|
263 |
triggers=[run_button.click, prompt.submit],
|