mirror of
https://github.com/openai/whisper.git
synced 2025-11-23 22:15:58 +00:00
Merge 9b84c4df26579f9b9d15b2e265ef8bc551338b41 into c0d2f624c09dc18e709e37c2ad90c039a4eb72a2
This commit is contained in:
commit
1974525614
@ -118,7 +118,7 @@ Transcription can also be performed within Python:
|
|||||||
import whisper
|
import whisper
|
||||||
|
|
||||||
model = whisper.load_model("turbo")
|
model = whisper.load_model("turbo")
|
||||||
result = model.transcribe("audio.mp3")
|
result = whisper.transcribe(model, "audio.mp3")
|
||||||
print(result["text"])
|
print(result["text"])
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user