Spaces:
Runtime error
Runtime error
Enable caching
Browse files- app_canny_db.py +1 -1
- app_pix2pix_video.py +1 -1
- app_pose.py +1 -1
app_canny_db.py
CHANGED
@@ -77,7 +77,7 @@ def create_demo(model: Model):
|
|
77 |
inputs=inputs,
|
78 |
outputs=result,
|
79 |
fn=model.process_controlnet_canny_db,
|
80 |
-
|
81 |
)
|
82 |
|
83 |
run_button.click(fn=model.process_controlnet_canny_db,
|
|
|
77 |
inputs=inputs,
|
78 |
outputs=result,
|
79 |
fn=model.process_controlnet_canny_db,
|
80 |
+
cache_examples = True,
|
81 |
)
|
82 |
|
83 |
run_button.click(fn=model.process_controlnet_canny_db,
|
app_pix2pix_video.py
CHANGED
@@ -82,7 +82,7 @@ def create_demo(model: Model):
|
|
82 |
inputs=inputs,
|
83 |
outputs=result,
|
84 |
fn=model.process_pix2pix,
|
85 |
-
|
86 |
run_on_click=False,
|
87 |
)
|
88 |
|
|
|
82 |
inputs=inputs,
|
83 |
outputs=result,
|
84 |
fn=model.process_pix2pix,
|
85 |
+
cache_examples=True,
|
86 |
run_on_click=False,
|
87 |
)
|
88 |
|
app_pose.py
CHANGED
@@ -45,7 +45,7 @@ def create_demo(model: Model):
|
|
45 |
inputs=inputs,
|
46 |
outputs=result,
|
47 |
fn=model.process_controlnet_pose,
|
48 |
-
|
49 |
run_on_click=False,
|
50 |
)
|
51 |
|
|
|
45 |
inputs=inputs,
|
46 |
outputs=result,
|
47 |
fn=model.process_controlnet_pose,
|
48 |
+
cache_examples = True,
|
49 |
run_on_click=False,
|
50 |
)
|
51 |
|