Spaces:
ckcl
/
Build error

ckcl commited on
Commit
c728c7d
·
verified ·
1 Parent(s): 0de6276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -882,7 +882,7 @@ if __name__ == "__main__":
882
  with gr.Tab("Webcam"):
883
  gr.Markdown("Use your webcam or mobile camera for real-time drowsiness detection")
884
  with gr.Row():
885
- webcam_input = gr.Image(source="webcam", streaming=True, label="Camera Feed", type="numpy")
886
  webcam_output = gr.Image(label="Processed Feed")
887
  with gr.Row():
888
  speed_input = gr.Slider(minimum=0, maximum=150, value=60, label="Current Speed (km/h)")
 
882
  with gr.Tab("Webcam"):
883
  gr.Markdown("Use your webcam or mobile camera for real-time drowsiness detection")
884
  with gr.Row():
885
+ webcam_input = gr.Image(label="Camera Feed", type="numpy", streaming=True)
886
  webcam_output = gr.Image(label="Processed Feed")
887
  with gr.Row():
888
  speed_input = gr.Slider(minimum=0, maximum=150, value=60, label="Current Speed (km/h)")