Suchith-nj commited on
Commit
e1ccb1b
·
1 Parent(s): 47e5e51

api change

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. 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/suchithnj12/food101-resnet50"
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: