2ddcf2d 299633b 2ddcf2d
1
2
3
4
5
6
7
8
import whisper model = whisper.load_model("tiny") def transcribe_audio(file_path: str) -> str: result = model.transcribe(file_path) return result["text"]