mvaloatto commited on
Commit
e1baead
·
1 Parent(s): 29edb0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=1),
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()