Spaces: Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(image):
|
|
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=
|
14 |
title="Bald or not?",
|
15 |
allow_flagging="manual"
|
16 |
).launch()
|
|
|
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()
|