From b22742a67c968b5309894c8d211a4721d212c695 Mon Sep 17 00:00:00 2001 From: karljiang118440 Date: Sat, 26 Apr 2025 14:03:12 +0800 Subject: [PATCH] =?UTF-8?q?whisper=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- whisper/test.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 whisper/test.py diff --git a/whisper/test.py b/whisper/test.py new file mode 100644 index 0000000..c091f7d --- /dev/null +++ b/whisper/test.py @@ -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"]) \ No newline at end of file