Spaces:
Runtime error
Runtime error
Commit
·
f3bfe8b
1
Parent(s):
99e9675
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,6 @@ def infer(img):
|
|
7 |
gen=result[0].get('dominant_gender')
|
8 |
final=('Gender '+gen+', Emotion '+emo)
|
9 |
return final
|
10 |
-
iface = gradio.Interface(fn=infer, inputs='image', outputs='text',examples=['
|
11 |
iface.launch()
|
12 |
|
|
|
7 |
gen=result[0].get('dominant_gender')
|
8 |
final=('Gender '+gen+', Emotion '+emo)
|
9 |
return final
|
10 |
+
iface = gradio.Interface(fn=infer, inputs='image', outputs='text',examples=['Happy.jpg'])
|
11 |
iface.launch()
|
12 |
|