Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
model_id = "SABR22/food_models"
|
| 6 |
-
pipe = pipeline("image-classification", model="
|
| 7 |
|
| 8 |
def classify_food(image):
|
| 9 |
image = pipe(image)
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
model_id = "SABR22/food_models"
|
| 6 |
+
pipe = pipeline("image-classification", model="Shresthadev403/food-image-classification")
|
| 7 |
|
| 8 |
def classify_food(image):
|
| 9 |
image = pipe(image)
|