Spaces:
Runtime error
Runtime error
Commit
·
78edeab
1
Parent(s):
a44607d
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def predict(img):
|
|
15 |
|
16 |
title = "Food Classifier"
|
17 |
description = "A food classifier trained on the dataset from kaggle"
|
18 |
-
examples = ['food.jpg','non-food.jpg']
|
19 |
|
20 |
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(224, 224)), outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,
|
21 |
examples=examples, enable_queue=True).launch()
|
|
|
15 |
|
16 |
title = "Food Classifier"
|
17 |
description = "A food classifier trained on the dataset from kaggle"
|
18 |
+
examples = ['food.jpg', 'non-food-2.jpg','non-food.jpg']
|
19 |
|
20 |
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(224, 224)), outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,
|
21 |
examples=examples, enable_queue=True).launch()
|