Update README.md

Fix outdated (or just incorrect?) python code example in readme
This commit is contained in:
TypeHintsFun 2025-09-03 02:56:14 +08:00 committed by GitHub
parent c0d2f624c0
commit 9b84c4df26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"])
```