From 9b84c4df26579f9b9d15b2e265ef8bc551338b41 Mon Sep 17 00:00:00 2001 From: TypeHintsFun <120367699+TypeHintsFun@users.noreply.github.com> Date: Wed, 3 Sep 2025 02:56:14 +0800 Subject: [PATCH] Update README.md Fix outdated (or just incorrect?) python code example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 196b48f..c3b4078 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Transcription can also be performed within Python: import whisper model = whisper.load_model("turbo") -result = model.transcribe("audio.mp3") +result = whisper.transcribe(model, "audio.mp3") print(result["text"]) ```