Spaces:
Runtime error
Runtime error
maxinethegreat
commited on
Commit
·
9330264
1
Parent(s):
d58cd3d
testing ui features using video input
Browse files
app.py
CHANGED
@@ -45,7 +45,8 @@ def predict_emotion(frame):
|
|
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) )
|
|
|
45 |
# cv2.destroyAllWindows()
|
46 |
|
47 |
|
48 |
+
# image = gr.inputs.Video(source = "webcam", shape=(300,300) )
|
49 |
+
image = gr.inputs.Video(source = "webcam" )
|
50 |
# label = gr.outputs.Label(num_top_classes=7)
|
51 |
|
52 |
label = gr.inputs.Image(type = "numpy", label="Emotion Detection", shape=(300,300) )
|