23A475R commited on
Commit
d51323f
1 Parent(s): 6dd612e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,5 +65,6 @@ description = "How well can this model predict your emotions? Take a picture wit
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)
 
 
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)
70
+ gr.Interface(fn=predict, inputs=inp, outputs=out, title=title, thumbnail=thumbnail).launch()