Spaces:
Sleeping
Sleeping
File size: 300 Bytes
00956db |
1 2 3 4 5 |
# Load model directly
from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification
processor = AutoProcessor.from_pretrained("harshit345/xlsr-wav2vec-speech-emotion-recognition")
model = Wav2Vec2ForSpeechClassification.from_pretrained("harshit345/xlsr-wav2vec-speech-emotion-recognition") |