Abs6187 commited on
Commit
fddfd57
1 Parent(s): 7d075b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -56,8 +56,9 @@ def video_processing(video_frame):
56
  # Launch Gradio app
57
  gr.Interface(
58
  fn=video_processing,
59
- inputs=gr.Video(source="webcam", streaming=True),
60
  outputs="video",
61
  live=True,
62
  title="Suspicious Activity Detection"
63
  ).launch(debug=True)
 
 
56
  # Launch Gradio app
57
  gr.Interface(
58
  fn=video_processing,
59
+ inputs=gr.Video(streaming=True), # Correct the Video component
60
  outputs="video",
61
  live=True,
62
  title="Suspicious Activity Detection"
63
  ).launch(debug=True)
64
+