lev1 commited on
Commit
7fe2981
1 Parent(s): d76fbc2

Cache disabled

Browse files
Files changed (3) hide show
  1. app_pix2pix_video.py +1 -1
  2. app_pose.py +1 -1
  3. app_text_to_video.py +1 -2
app_pix2pix_video.py CHANGED
@@ -61,7 +61,7 @@ def create_demo(model: Model):
61
  gr.Examples(examples=examples,
62
  inputs=inputs,
63
  outputs=result,
64
- cache_examples=os.getenv('SYSTEM') == 'spaces',
65
  run_on_click=False,
66
  )
67
 
 
61
  gr.Examples(examples=examples,
62
  inputs=inputs,
63
  outputs=result,
64
+ # cache_examples=os.getenv('SYSTEM') == 'spaces',
65
  run_on_click=False,
66
  )
67
 
app_pose.py CHANGED
@@ -40,7 +40,7 @@ def create_demo(model: Model):
40
  gr.Examples(examples=examples,
41
  inputs=inputs,
42
  outputs=result,
43
- cache_examples=os.getenv('SYSTEM') == 'spaces',
44
  fn=model.process_controlnet_pose,
45
  run_on_click=False,
46
  )
 
40
  gr.Examples(examples=examples,
41
  inputs=inputs,
42
  outputs=result,
43
+ # cache_examples=os.getenv('SYSTEM') == 'spaces',
44
  fn=model.process_controlnet_pose,
45
  run_on_click=False,
46
  )
app_text_to_video.py CHANGED
@@ -53,8 +53,7 @@ def create_demo(model: Model):
53
  gr.Examples(examples=examples,
54
  inputs=inputs,
55
  outputs=result,
56
- # cache_examples=False,
57
- cache_examples=os.getenv('SYSTEM') == 'spaces',
58
  run_on_click=False,
59
  )
60
 
 
53
  gr.Examples(examples=examples,
54
  inputs=inputs,
55
  outputs=result,
56
+ # cache_examples=os.getenv('SYSTEM') == 'spaces',
 
57
  run_on_click=False,
58
  )
59