Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,8 @@ def predict(image):
|
|
91 |
|
92 |
gr.Interface(
|
93 |
predict,
|
94 |
-
inputs=gr.inputs.Image(label="Upload a profile picture of a single person", type="
|
95 |
outputs=("text"),
|
96 |
title="Estimate age and gender from profile picture",
|
|
|
97 |
).launch()
|
|
|
91 |
|
92 |
gr.Interface(
|
93 |
predict,
|
94 |
+
inputs=gr.inputs.Image(label="Upload a profile picture of a single person", type="pil"),
|
95 |
outputs=("text"),
|
96 |
title="Estimate age and gender from profile picture",
|
97 |
+
examples=["ex0.jpg", "ex1.jpg"]
|
98 |
).launch()
|