23A475R commited on
Commit
217243b
1 Parent(s): 3be2ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -60,10 +60,10 @@ EMOTIONS = ['neutral','happiness','surprise','sadness','anger','disgust','fear',
60
  # gr.components.Image(label="Predicted Emotion"),
61
  # gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
62
  # ]
63
- # title = "Facial Emotion Recognition"
64
- # description = "How well can this model predict your emotions? Take a picture with your webcam, and it will guess if" \
65
- # " you are: happy, sad, angry, disgusted, scared, surprised, or neutral."
66
- # thumbnail = "https://raw.githubusercontent.com/gradio-app/hub-emotion-recognition/master/thumbnail.png"
67
 
68
  # # gr.Interface(predict, inp, out, capture_session=True, title=title, thumbnail=thumbnail,
69
  # # description=description).launch(inbrowser=True)
 
60
  # gr.components.Image(label="Predicted Emotion"),
61
  # gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
62
  # ]
63
+ title = "Facial Emotion Recognition"
64
+ description = "How well can this model predict your emotions? Take a picture with your webcam, and it will guess if" \
65
+ " you are: happy, sad, angry, disgusted, scared, surprised, or neutral."
66
+ thumbnail = "https://raw.githubusercontent.com/gradio-app/hub-emotion-recognition/master/thumbnail.png"
67
 
68
  # # gr.Interface(predict, inp, out, capture_session=True, title=title, thumbnail=thumbnail,
69
  # # description=description).launch(inbrowser=True)