3dba253
aaa96b1
667fa2f
3dba253
|
|
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)
|