23A475R commited on
Commit
b03b518
1 Parent(s): c99ac98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -58,7 +58,9 @@ def predict_emotion(frame):
58
  demo = gr.Interface(
59
  fn = predict_emotion,
60
  inputs = gr.Image(type="numpy"),
61
- outputs = gr.Label(num_top_classes=9),
 
 
62
  #flagging_options=["blurry", "incorrect", "other"],
63
  examples = [
64
 
 
58
  demo = gr.Interface(
59
  fn = predict_emotion,
60
  inputs = gr.Image(type="numpy"),
61
+ outputs = frame_clone,
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"],
65
  examples = [
66