maxinethegreat commited on
Commit
d58cd3d
·
1 Parent(s): f46798f

testing ui features using video input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict_emotion(frame):
45
  # cv2.destroyAllWindows()
46
 
47
 
48
- image = gr.inputs.Image(source = "webcam", shape=(300,300) )
49
  # label = gr.outputs.Label(num_top_classes=7)
50
 
51
  label = gr.inputs.Image(type = "numpy", label="Emotion Detection", shape=(300,300) )
 
45
  # cv2.destroyAllWindows()
46
 
47
 
48
+ image = gr.inputs.Video(source = "webcam", shape=(300,300) )
49
  # label = gr.outputs.Label(num_top_classes=7)
50
 
51
  label = gr.inputs.Image(type = "numpy", label="Emotion Detection", shape=(300,300) )