Spaces:
Runtime error
Runtime error
change food model recognition
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ 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 |
|
|
|
|
| 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 |
+
imagepipe = pipeline("image-classification", model="flatmoon102/fruits_and_vegetables_image_classification")
|
| 10 |
|
| 11 |
st.title('Upload an audio file for speech recognition')
|
| 12 |
|