Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ st.set_page_config(page_title="Food Image Classifier", layout="centered")
|
|
11 |
@st.cache_resource
|
12 |
def load_model():
|
13 |
st.text("Loading model...")
|
14 |
-
model = pipeline("image-classification", model="munnae/bc220")
|
|
|
15 |
st.text("Model loaded successfully!")
|
16 |
return model
|
17 |
|
|
|
11 |
@st.cache_resource
|
12 |
def load_model():
|
13 |
st.text("Loading model...")
|
14 |
+
#model = pipeline("image-classification", model="munnae/bc220")
|
15 |
+
model = pipeline("image-classification", model="dwililiya/food101-model-classification")
|
16 |
st.text("Model loaded successfully!")
|
17 |
return model
|
18 |
|