sergioska commited on
Commit
a5d7d2b
·
1 Parent(s): c0575f2

change food model recognition

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from transformers import pipeline
4
  from tempfile import NamedTemporaryFile
5
 
6
  audiopipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
7
- imagepipe = pipeline("image-classification", model="Kaludi/food-category-classification-v2.0")
 
8
 
9
  st.title('Upload an audio file for speech recognition')
10
 
 
4
  from tempfile import NamedTemporaryFile
5
 
6
  audiopipe = pipeline("automatic-speech-recognition", model="openai/whisper-large-v3")
7
+ #imagepipe = pipeline("image-classification", model="Kaludi/food-category-classification-v2.0")
8
+ imagepipe = pipeline("image-classification", model="nateraw/food")
9
 
10
  st.title('Upload an audio file for speech recognition')
11