Spaces:
Build error
Build error
Amit Kumar commited on
Commit ·
b33191b
1
Parent(s): 41ba2bc
fix operand error in app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ article = "How to Use: Upload a food image in the upload section above or select
|
|
| 45 |
"Click on the 'Submit' button and the model will detect which" \
|
| 46 |
"food catagory the image belongs to."
|
| 47 |
|
| 48 |
-
example_list = [["examples"
|
| 49 |
|
| 50 |
food101_app = gr.Interface(fn=predict,
|
| 51 |
inputs=gr.Image(type="pil"),
|
|
|
|
| 45 |
"Click on the 'Submit' button and the model will detect which" \
|
| 46 |
"food catagory the image belongs to."
|
| 47 |
|
| 48 |
+
example_list = [["examples/" + example] for example in os.listdir("examples")]
|
| 49 |
|
| 50 |
food101_app = gr.Interface(fn=predict,
|
| 51 |
inputs=gr.Image(type="pil"),
|