Spaces:
Runtime error
Runtime error
maxinethegreat
commited on
Commit
·
bf6f221
1
Parent(s):
ddac633
test live detection
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def predict_emotion(vid):
|
|
47 |
input_image = gr.inputs.Video(source = "webcam", label="Your Face")
|
48 |
# video = gr.inputs.Video(source = "webcam" )
|
49 |
|
50 |
-
output_image = gr.outputs.Image( label="Detected Emotion" )
|
51 |
|
52 |
|
53 |
|
|
|
47 |
input_image = gr.inputs.Video(source = "webcam", label="Your Face")
|
48 |
# video = gr.inputs.Video(source = "webcam" )
|
49 |
|
50 |
+
output_image = gr.outputs.Image( type="numpy", label="Detected Emotion" )
|
51 |
|
52 |
|
53 |
|