thinkin-machine commited on
Commit
cdfdfeb
1 Parent(s): edc8afb

add examples

Browse files
Files changed (4) hide show
  1. app.py +6 -1
  2. example/fear.jpg +0 -0
  3. example/happy.jpg +0 -0
  4. example/sad.jpg +0 -0
app.py CHANGED
@@ -30,7 +30,12 @@ demo = gr.Interface(
30
  gr.inputs.Image(label="Prediction"),
31
  ],
32
  title="Emotion Recognition Demo",
33
- description="Emotion Classification Model trained on FER Dataset"
 
 
 
 
 
34
  )
35
 
36
  demo.launch(debug=True)
 
30
  gr.inputs.Image(label="Prediction"),
31
  ],
32
  title="Emotion Recognition Demo",
33
+ description="Emotion Classification Model trained on FER Dataset",
34
+ examples=[
35
+ ["example/fear.jpg", 'EfficientNetB0'],
36
+ ["example/sad.jpg", 'EfficientNetB0'],
37
+ ["example/happy.jpg", 'EfficientNetB0'],
38
+ ],
39
  )
40
 
41
  demo.launch(debug=True)
example/fear.jpg ADDED
example/happy.jpg ADDED
example/sad.jpg ADDED