dylanplummer commited on
Commit
a503080
·
verified ·
1 Parent(s): 3312b8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -754,7 +754,7 @@ with gr.Blocks() as demo:
754
  gr.Examples(examples,
755
  inputs=[in_video, in_stream_url, in_stream_start, in_stream_end, beep_detection_on, event_length, relay_detection_on, relay_length, switch_delay],
756
  outputs=[out_video, out_text, out_plot, out_phase_spiral, out_phase, out_hist, out_event_type_dist],
757
- fn=demo_inference, cache_examples=os.getenv('SYSTEM') == 'spaces')
758
 
759
 
760
  if __name__ == "__main__":
 
754
  gr.Examples(examples,
755
  inputs=[in_video, in_stream_url, in_stream_start, in_stream_end, beep_detection_on, event_length, relay_detection_on, relay_length, switch_delay],
756
  outputs=[out_video, out_text, out_plot, out_phase_spiral, out_phase, out_hist, out_event_type_dist],
757
+ fn=demo_inference, cache_examples=False)
758
 
759
 
760
  if __name__ == "__main__":