qubvel-hf HF Staff commited on
Commit
3568f5b
·
1 Parent(s): 61d656f

Remove video caching, it does not work

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -397,8 +397,7 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
397
  inputs=[video_input, video_checkpoint, video_confidence_threshold],
398
  outputs=[video_output],
399
  fn=process_video,
400
- cache_examples=True,
401
- cache_mode="lazy",
402
  label="Select a video example to populate inputs",
403
  )
404
 
 
397
  inputs=[video_input, video_checkpoint, video_confidence_threshold],
398
  outputs=[video_output],
399
  fn=process_video,
400
+ cache_examples=False,
 
401
  label="Select a video example to populate inputs",
402
  )
403