Spaces:
Runtime error
Runtime error
maxinethegreat
commited on
Commit
·
d58cd3d
1
Parent(s):
f46798f
testing ui features using video input
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def predict_emotion(frame):
|
|
45 |
# cv2.destroyAllWindows()
|
46 |
|
47 |
|
48 |
-
image = gr.inputs.
|
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) )
|