Anushree1 commited on
Commit
0cf1ef1
·
verified ·
1 Parent(s): e772db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,6 +39,6 @@ def video_input(video):
39
  yield processed_frame
40
 
41
  # Set up the Gradio interface with the webcam
42
- iface = gr.Interface(fn=video_input, inputs=gr.Video(source="webcam"), outputs="video", live=True)
43
 
44
  iface.launch()
 
39
  yield processed_frame
40
 
41
  # Set up the Gradio interface with the webcam
42
+ iface = gr.Interface(fn=video_input, inputs=gr.Video(type="webcam"), outputs="video", live=True)
43
 
44
  iface.launch()