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