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)