Spaces:
Sleeping
Sleeping
File size: 257 Bytes
a97191b 7850de7 e43a9a5 00956db e43a9a5 |
1 2 3 4 5 6 7 8 9 10 11 |
import streamlit
from transformers.pipelines import pipeline
pipe = pipeline(model="KELONMYOSA/wav2vec2-xls-r-300m-emotion-ru", trust_remote_code=True)
# The pipeline input can be a file, path or link
result = pipe("speech.wav")
streamlit.write(result)
|