Spaces:
Sleeping
Sleeping
File size: 334 Bytes
a97191b 00956db a97191b |
1 2 3 4 5 6 7 8 |
import streamlit
# 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")
st.write(model) |