Spaces:
Runtime error
Runtime error
change food model recognition
Browse files
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 |
|