From b2d549b9541bd50dc744a152ddaca090bb254a9f Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期五, 29 三月 2024 17:06:35 +0800 Subject: [PATCH] add SetBatchSize for model --- examples/industrial_data_pretraining/whisper/demo.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/examples/industrial_data_pretraining/whisper/demo.py b/examples/industrial_data_pretraining/whisper/demo.py index db8d92c..01e125d 100644 --- a/examples/industrial_data_pretraining/whisper/demo.py +++ b/examples/industrial_data_pretraining/whisper/demo.py @@ -3,6 +3,8 @@ # 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/Whisper-large-v3", -- Gitblit v1.9.1