23A475R commited on
Commit
5535cf3
1 Parent(s): 2c0e533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -7
app.py CHANGED
@@ -72,14 +72,24 @@ out = [
72
  gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
73
  ]
74
 
 
 
 
 
 
 
 
 
 
 
75
  example_images = [
76
- os.path.join(os.path.dirname(__file__),"images/chandler.jpeg"),
77
- os.path.join(os.path.dirname(__file__),"images/janice.jpg"),
78
- os.path.join(os.path.dirname(__file__),"images/joey.jpg"),
79
- os.path.join(os.path.dirname(__file__),"images/phoebe.jpg"),
80
- os.path.join(os.path.dirname(__file__),"images/rachel_monica.jpg"),
81
- os.path.join(os.path.dirname(__file__),"images/ross.jpg"),
82
- os.path.join(os.path.dirname(__file__),"images/gunther.jpg")
83
  ]
84
 
85
  title = "Facial Emotion Recognition"
 
72
  gr.components.Label(num_top_classes=2, label="Top 2 Probabilities")
73
  ]
74
 
75
+ # example_images = [
76
+ # os.path.join(os.path.dirname(__file__),"images/chandler.jpeg"),
77
+ # os.path.join(os.path.dirname(__file__),"images/janice.jpg"),
78
+ # os.path.join(os.path.dirname(__file__),"images/joey.jpg"),
79
+ # os.path.join(os.path.dirname(__file__),"images/phoebe.jpg"),
80
+ # os.path.join(os.path.dirname(__file__),"images/rachel_monica.jpg"),
81
+ # os.path.join(os.path.dirname(__file__),"images/ross.jpg"),
82
+ # os.path.join(os.path.dirname(__file__),"images/gunther.jpg")
83
+ # ]
84
+
85
  example_images = [
86
+ ["images/chandler.jpeg"],
87
+ ["images/janice.jpg"],
88
+ ["images/joey.jpg"],
89
+ ["images/phoebe.jpg"],
90
+ ["images/rachel_monica.jpg"],
91
+ ["images/ross.jpg"],
92
+ ["images/gunther.jpg"]
93
  ]
94
 
95
  title = "Facial Emotion Recognition"