Spaces:
Runtime error
Runtime error
Commit
·
9d7956f
1
Parent(s):
6224b1c
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,8 +55,7 @@ def classify_food_vs_nonfood(image):
|
|
| 55 |
image_input = gr.inputs.Image(shape=(224, 224), type="pil")
|
| 56 |
|
| 57 |
# Define example images as file paths
|
| 58 |
-
ex_image_paths = ['image_1.jpeg', 'image_2.jpeg', 'image_3.jpeg', 'image_4.jpg']
|
| 59 |
-
]
|
| 60 |
|
| 61 |
# Launch Gradio interface with example images
|
| 62 |
food_vs_nonfood_interface = gr.Interface(classify_food_vs_nonfood,
|
|
|
|
| 55 |
image_input = gr.inputs.Image(shape=(224, 224), type="pil")
|
| 56 |
|
| 57 |
# Define example images as file paths
|
| 58 |
+
ex_image_paths = ['image_1.jpeg', 'image_2.jpeg', 'image_3.jpeg', 'image_4.jpg', '00000007.jpg']
|
|
|
|
| 59 |
|
| 60 |
# Launch Gradio interface with example images
|
| 61 |
food_vs_nonfood_interface = gr.Interface(classify_food_vs_nonfood,
|