whisper使用
This commit is contained in:
parent
71daa9d138
commit
b22742a67c
|
|
@ -0,0 +1,5 @@
|
||||||
|
import whisper
|
||||||
|
|
||||||
|
model = whisper.load_model("large-v3-turbo")
|
||||||
|
result = model.transcribe("./driven_audio/chinese_poem1.wav",fp16="False")
|
||||||
|
print(result["text"])
|
||||||
Loading…
Reference in New Issue