Nico8800
remove print
e7433d6
raw
history blame contribute delete
150 Bytes
import whisper
def transcribe(audio_path):
model = whisper.load_model("base")
result = model.transcribe(audio_path)
return result['text']