lev1 commited on
Commit
72907d1
1 Parent(s): cbea3f9

Disable caching

Browse files
Files changed (5) hide show
  1. app_canny.py +2 -1
  2. app_canny_db.py +2 -1
  3. app_depth.py +2 -1
  4. app_pix2pix_video.py +2 -1
  5. app_pose.py +2 -1
app_canny.py CHANGED
@@ -67,7 +67,8 @@ def create_demo(model: Model):
67
  inputs=inputs,
68
  outputs=result,
69
  fn=model.process_controlnet_canny,
70
- cache_examples=on_huggingspace,
 
71
  run_on_click=False,
72
  )
73
 
 
67
  inputs=inputs,
68
  outputs=result,
69
  fn=model.process_controlnet_canny,
70
+ # cache_examples=on_huggingspace,
71
+ cache_examples=False,
72
  run_on_click=False,
73
  )
74
 
app_canny_db.py CHANGED
@@ -90,7 +90,8 @@ def create_demo(model: Model):
90
  inputs=inputs,
91
  outputs=result,
92
  fn=model.process_controlnet_canny_db,
93
- cache_examples=on_huggingspace,
 
94
  )
95
 
96
  run_button.click(fn=model.process_controlnet_canny_db,
 
90
  inputs=inputs,
91
  outputs=result,
92
  fn=model.process_controlnet_canny_db,
93
+ # cache_examples=on_huggingspace,
94
+ cache_examples=False,
95
  )
96
 
97
  run_button.click(fn=model.process_controlnet_canny_db,
app_depth.py CHANGED
@@ -80,7 +80,8 @@ def create_demo(model: Model):
80
  inputs=inputs,
81
  outputs=result,
82
  fn=model.process_controlnet_depth,
83
- cache_examples=on_huggingspace,
 
84
  run_on_click=False,
85
  )
86
 
 
80
  inputs=inputs,
81
  outputs=result,
82
  fn=model.process_controlnet_depth,
83
+ # cache_examples=on_huggingspace,
84
+ cache_examples=False,
85
  run_on_click=False,
86
  )
87
 
app_pix2pix_video.py CHANGED
@@ -99,7 +99,8 @@ def create_demo(model: Model):
99
  inputs=inputs,
100
  outputs=result,
101
  fn=model.process_pix2pix,
102
- cache_examples=on_huggingspace,
 
103
  run_on_click=False,
104
  )
105
 
 
99
  inputs=inputs,
100
  outputs=result,
101
  fn=model.process_pix2pix,
102
+ # cache_examples=on_huggingspace,
103
+ cache_examples=False,
104
  run_on_click=False,
105
  )
106
 
app_pose.py CHANGED
@@ -59,7 +59,8 @@ def create_demo(model: Model):
59
  inputs=inputs,
60
  outputs=result,
61
  fn=model.process_controlnet_pose,
62
- cache_examples=on_huggingspace,
 
63
  run_on_click=False,
64
  )
65
 
 
59
  inputs=inputs,
60
  outputs=result,
61
  fn=model.process_controlnet_pose,
62
+ # cache_examples=on_huggingspace,
63
+ cache_examples=False,
64
  run_on_click=False,
65
  )
66