DSatishchandra commited on
Commit
9a5a939
Β·
verified Β·
1 Parent(s): ec9e91b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -170,8 +170,7 @@ with gr.Blocks() as demo:
170
  start_button.click(
171
  fn=live_feed_generator,
172
  inputs=[video_type, confidence_threshold],
173
- outputs=[live_feed, live_metrics, live_logs, detection_trend, anomaly_types, captured_events],
174
- _js="() => {return [document.querySelector('select').value, document.querySelector('input[type=range]').value]}"
175
  )
176
 
177
  demo.launch()
 
170
  start_button.click(
171
  fn=live_feed_generator,
172
  inputs=[video_type, confidence_threshold],
173
+ outputs=[live_feed, live_metrics, live_logs, detection_trend, anomaly_types, captured_events]
 
174
  )
175
 
176
  demo.launch()