EvanMarie commited on
Commit
7e3d766
Β·
1 Parent(s): 20502e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,6 +14,8 @@ def classify_faces(img):
14
  intf = gr.Interface(fn=classify_faces,
15
  inputs=gr.Image(shape=(192, 192)),
16
  outputs=gr.Label(),
 
 
17
  examples=['face01.jpg', 'face13.jpg', 'face02.jpg', 'face07.jpg', 'face10.jpeg', 'face11.jpg', 'face03.jpg', 'face04.jpg', 'face12.jpg', 'face05.jpg', 'face09.jpeg', 'face06.jpg', 'face08.jpeg'])
18
  intf.launch(inline=False)
19
 
 
14
  intf = gr.Interface(fn=classify_faces,
15
  inputs=gr.Image(shape=(192, 192)),
16
  outputs=gr.Label(),
17
+ title='Happy, Sad, or Angry?',
18
+ description="Put in a picture and see what the AI thinks the expression on the face is. Happy is easy, but sad and angry are eerily similar!",
19
  examples=['face01.jpg', 'face13.jpg', 'face02.jpg', 'face07.jpg', 'face10.jpeg', 'face11.jpg', 'face03.jpg', 'face04.jpg', 'face12.jpg', 'face05.jpg', 'face09.jpeg', 'face06.jpg', 'face08.jpeg'])
20
  intf.launch(inline=False)
21