Cache example
Browse files
x2rgb/gradio_demo_x2rgb.py
CHANGED
@@ -212,8 +212,8 @@ with gr.Blocks() as demo:
|
|
212 |
image_guidance_scale,
|
213 |
],
|
214 |
outputs=[result_gallery],
|
215 |
-
|
216 |
-
|
217 |
)
|
218 |
|
219 |
run_button.click(
|
|
|
212 |
image_guidance_scale,
|
213 |
],
|
214 |
outputs=[result_gallery],
|
215 |
+
cache_mode="eager",
|
216 |
+
cache_examples=True,
|
217 |
)
|
218 |
|
219 |
run_button.click(
|