Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def predict_emotion(frame):
|
|
58 |
demo = gr.Interface(
|
59 |
fn = predict_emotion,
|
60 |
inputs = gr.Image(type="numpy"),
|
61 |
-
outputs =
|
62 |
# gr.components.Image(label="Predicted Emotion"),
|
63 |
# gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
|
64 |
#flagging_options=["blurry", "incorrect", "other"],
|
|
|
58 |
demo = gr.Interface(
|
59 |
fn = predict_emotion,
|
60 |
inputs = gr.Image(type="numpy"),
|
61 |
+
outputs = gr.Image(),
|
62 |
# gr.components.Image(label="Predicted Emotion"),
|
63 |
# gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
|
64 |
#flagging_options=["blurry", "incorrect", "other"],
|