Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
4 |
|
5 |
-
model_id = "
|
6 |
processor = AutoImageProcessor.from_pretrained(model_id)
|
7 |
model = AutoModelForImageClassification.from_pretrained(model_id)
|
8 |
|
|
|
2 |
import torch
|
3 |
from transformers import AutoImageProcessor, AutoModelForImageClassification
|
4 |
|
5 |
+
model_id = "SABR22/food_models"
|
6 |
processor = AutoImageProcessor.from_pretrained(model_id)
|
7 |
model = AutoModelForImageClassification.from_pretrained(model_id)
|
8 |
|