From 63a70a00f7c9f162e8d7b3e330516438fb8cd87b Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期五, 19 四月 2024 16:08:05 +0800
Subject: [PATCH] add dynamic batch for fetch
---
examples/industrial_data_pretraining/whisper/demo.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/examples/industrial_data_pretraining/whisper/demo.py b/examples/industrial_data_pretraining/whisper/demo.py
index f010ea2..01e125d 100644
--- a/examples/industrial_data_pretraining/whisper/demo.py
+++ b/examples/industrial_data_pretraining/whisper/demo.py
@@ -3,9 +3,11 @@
# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
# MIT License (https://opensource.org/licenses/MIT)
+# To install requirements: pip3 install -U openai-whisper
+
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",
)
--
Gitblit v1.9.1