maxinethegreat commited on
Commit
d6d6aa2
·
1 Parent(s): 27bc994

test live detection

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def predict_emotion(frame):
40
  # cv2.destroyAllWindows()
41
 
42
 
43
- input_image = gr.inputs.Image(source = "webcam", streaming = True)
44
  # video = gr.inputs.Video(source = "webcam" )
45
 
46
  output_image = gr.inputs.Image(label="Emotion Detection" )
 
40
  # cv2.destroyAllWindows()
41
 
42
 
43
+ input_image = gr.inputs.Image(source = "webcam")
44
  # video = gr.inputs.Video(source = "webcam" )
45
 
46
  output_image = gr.inputs.Image(label="Emotion Detection" )