Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,9 @@ def predict(image):
|
|
10 |
return {p["label"]: p["score"] for p in predictions}
|
11 |
|
12 |
gr.Interface(
|
13 |
-
theme="dark",
|
14 |
predict,
|
15 |
inputs=gr.inputs.Image(label="Upload hot dog candidate", type="filepath"),
|
16 |
outputs=gr.outputs.Label(num_top_classes=2),
|
17 |
title="Hot Dog? Or Not?",
|
|
|
18 |
).launch()
|
|
|
10 |
return {p["label"]: p["score"] for p in predictions}
|
11 |
|
12 |
gr.Interface(
|
|
|
13 |
predict,
|
14 |
inputs=gr.inputs.Image(label="Upload hot dog candidate", type="filepath"),
|
15 |
outputs=gr.outputs.Label(num_top_classes=2),
|
16 |
title="Hot Dog? Or Not?",
|
17 |
+
theme="dark",
|
18 |
).launch()
|