lev1 commited on
Commit
e3684da
1 Parent(s): 7684c46

Enable caching

Browse files
Files changed (2) hide show
  1. app_canny.py +1 -1
  2. app_text_to_video.py +1 -1
app_canny.py CHANGED
@@ -50,7 +50,7 @@ def create_demo(model: Model):
50
  inputs=inputs,
51
  outputs=result,
52
  fn=model.process_controlnet_canny,
53
- # cache_examples = True,
54
  run_on_click=False,
55
  )
56
 
 
50
  inputs=inputs,
51
  outputs=result,
52
  fn=model.process_controlnet_canny,
53
+ cache_examples = True,
54
  run_on_click=False,
55
  )
56
 
app_text_to_video.py CHANGED
@@ -106,7 +106,7 @@ def create_demo(model: Model):
106
  inputs=inputs,
107
  outputs=result,
108
  fn=model.process_text2video,
109
- cache_examples=True,
110
  run_on_click=False,
111
  )
112
 
 
106
  inputs=inputs,
107
  outputs=result,
108
  fn=model.process_text2video,
109
+ # cache_examples=True,
110
  run_on_click=False,
111
  )
112