Spaces:
Runtime error
Runtime error
maxinethegreat
commited on
Commit
·
2032d4e
1
Parent(s):
65f6ff9
testing emotion detection
Browse files
app.py
CHANGED
@@ -45,8 +45,11 @@ 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 |
|
52 |
iface = gr.Interface(
|
|
|
45 |
# cv2.destroyAllWindows()
|
46 |
|
47 |
|
48 |
+
image = gr.inputs.Image(source = "webcam", shape=(10,10) )
|
49 |
+
# label = gr.outputs.Label(num_top_classes=7)
|
50 |
+
|
51 |
+
label = gr.inputs.Image(type = "numpy", label="hello world")
|
52 |
+
|
53 |
|
54 |
|
55 |
iface = gr.Interface(
|