From 74f4f7b4c7228763fd923d2a27eb7d2515f89907 Mon Sep 17 00:00:00 2001
From: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Date: 星期五, 08 三月 2024 11:33:04 +0800
Subject: [PATCH] seaco with cifv2 (#1450)
---
examples/industrial_data_pretraining/whisper/demo.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/industrial_data_pretraining/whisper/demo.py b/examples/industrial_data_pretraining/whisper/demo.py
index 071b49b..db8d92c 100644
--- a/examples/industrial_data_pretraining/whisper/demo.py
+++ b/examples/industrial_data_pretraining/whisper/demo.py
@@ -5,9 +5,9 @@
from funasr import AutoModel
-model = AutoModel(model="iic/speech_whisper-large_asr_multilingual",
+model = AutoModel(model="iic/Whisper-large-v3",
model_revision="v2.0.4",
)
-res = model.generate(input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav")
+res = model.generate(input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav", language=None)
print(res)
--
Gitblit v1.9.1