maxinethegreat commited on
Commit
9e5bff1
·
1 Parent(s): 39df1b2

test live detection

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