File size: 230 Bytes
3dba253
 
aaa96b1
667fa2f
3dba253
 
1
2
3
4
5
6
7
from transformers import pipeline

pipe = pipeline("automatic-speech-recognition", model="stt-greek",return_timestamps=True)
result=pipe("greek.wav", generate_kwargs={"task": "transcribe","language":"el"})["text"]
print (result)