Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def predict(image):
|
|
| 9 |
|
| 10 |
gr.Interface(
|
| 11 |
predict,
|
| 12 |
-
inputs=gr.inputs.Image(label="Upload
|
| 13 |
outputs=gr.outputs.Label(num_top_classes=2),
|
| 14 |
-
title="
|
| 15 |
allow_flagging="manual"
|
| 16 |
).launch()
|
|
|
|
| 9 |
|
| 10 |
gr.Interface(
|
| 11 |
predict,
|
| 12 |
+
inputs=gr.inputs.Image(label="Upload someone's portait", type="filepath"),
|
| 13 |
outputs=gr.outputs.Label(num_top_classes=2),
|
| 14 |
+
title="Bald or not?",
|
| 15 |
allow_flagging="manual"
|
| 16 |
).launch()
|