maxineattobrah commited on
Commit
79e8cf6
·
verified ·
1 Parent(s): 12a76c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def predict_emotion(frame):
55
  # cv2.destroyAllWindows()
56
 
57
 
58
- input_image = gr.Image(source = "webcam", streaming = True, label="Your Face")
59
  # video = gr.inputs.Video(source = "webcam" )
60
 
61
  output_image = gr.Image( type="numpy", label="Detected Emotion" )
 
55
  # cv2.destroyAllWindows()
56
 
57
 
58
+ input_image = gr.Image(sources = ["webcam"], streaming = True, label="Your Face")
59
  # video = gr.inputs.Video(source = "webcam" )
60
 
61
  output_image = gr.Image( type="numpy", label="Detected Emotion" )