Huu076 commited on
Commit
72a3eb2
1 Parent(s): 79b1612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ outputs_video = [
140
 
141
  interface_webcam = gr.Interface(
142
  fn=show_preds_webcam,
143
- inputs=gr.Image(sources=["webcam"], streaming=True),
144
  outputs=outputs_video,
145
  live=True
146
  )
 
140
 
141
  interface_webcam = gr.Interface(
142
  fn=show_preds_webcam,
143
+ inputs=gr.Image(sources=["webcam"], streaming=True, type="pil"),
144
  outputs=outputs_video,
145
  live=True
146
  )