Spaces:
Runtime error
Runtime error
maxinethegreat
commited on
Commit
·
b1d51d5
1
Parent(s):
2032d4e
testing emotion detection
Browse files
app.py
CHANGED
@@ -45,10 +45,10 @@ def predict_emotion(frame):
|
|
45 |
# cv2.destroyAllWindows()
|
46 |
|
47 |
|
48 |
-
image = gr.inputs.Image(source = "webcam", shape=(
|
49 |
# label = gr.outputs.Label(num_top_classes=7)
|
50 |
|
51 |
-
label = gr.inputs.Image(type = "numpy", label="
|
52 |
|
53 |
|
54 |
|
|
|
45 |
# cv2.destroyAllWindows()
|
46 |
|
47 |
|
48 |
+
image = gr.inputs.Image(source = "webcam", shape=(100,100) )
|
49 |
# label = gr.outputs.Label(num_top_classes=7)
|
50 |
|
51 |
+
label = gr.inputs.Image(type = "numpy", label="Emotion Detection")
|
52 |
|
53 |
|
54 |
|