Spaces:
Sleeping
Sleeping
Suchith-nj
commited on
Commit
·
e1ccb1b
1
Parent(s):
47e5e51
api change
Browse files- .gitignore +1 -0
- pages/1_Image_Classifier.py +1 -1
.gitignore
CHANGED
|
@@ -8,3 +8,4 @@ __pycache__/
|
|
| 8 |
venv/*
|
| 9 |
*venv/*
|
| 10 |
=0.19.0
|
|
|
|
|
|
| 8 |
venv/*
|
| 9 |
*venv/*
|
| 10 |
=0.19.0
|
| 11 |
+
.streamlit/secrets.toml
|
pages/1_Image_Classifier.py
CHANGED
|
@@ -14,7 +14,7 @@ st.title("Food-101 Image Classifier")
|
|
| 14 |
st.markdown("### AI-powered food recognition using ResNet-50")
|
| 15 |
|
| 16 |
# Model API
|
| 17 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 18 |
|
| 19 |
# Try to get token, ignore if not found
|
| 20 |
try:
|
|
|
|
| 14 |
st.markdown("### AI-powered food recognition using ResNet-50")
|
| 15 |
|
| 16 |
# Model API
|
| 17 |
+
API_URL = "https://api-inference.huggingface.co/models/nateraw/food"
|
| 18 |
|
| 19 |
# Try to get token, ignore if not found
|
| 20 |
try:
|