Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def predict(image):
|
|
9 |
|
10 |
gr.Interface(
|
11 |
predict,
|
12 |
-
inputs=gr.
|
13 |
-
outputs=gr.
|
14 |
title="Is this a hot dog?",
|
15 |
).launch()
|
|
|
9 |
|
10 |
gr.Interface(
|
11 |
predict,
|
12 |
+
inputs=gr.Image(label="Upload hot dog candidate", type="filepath"),
|
13 |
+
outputs=gr.Label(num_top_classes=2),
|
14 |
title="Is this a hot dog?",
|
15 |
).launch()
|