Greetings Huggingface community!
I have been following the examples in the docs, for the example of audio pipeline under the ‘Pipelines for inference’ tutorial, I tried out the follwing example:
from transformers import pipeline
audio_classifier = pipeline(task='audio-classification',model = \
"ehcalabres/wav2vec2-lg-xlsr-en-speech-emotion-recognition")
audio_classifier("1.wav") # A .wav file stored locally in the same directory
I get the following error
ValueError: ffmpeg was not found but is required to load audio files from filename
I’m running all of this under a conda environment and made sure that ffmpeg was installed.
Any assistance would be greatly appreciated