From 95cf2646fa6dae67bf53354f4ed5e81780d8fee9 Mon Sep 17 00:00:00 2001 From: zhifu gao <zhifu.gzf@alibaba-inc.com> Date: 星期一, 11 三月 2024 14:43:08 +0800 Subject: [PATCH] onnx (#1460) --- examples/industrial_data_pretraining/whisper/demo_from_openai.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/examples/industrial_data_pretraining/whisper/demo_from_openai.py b/examples/industrial_data_pretraining/whisper/demo_from_openai.py index 046e9c6..2ee8ad5 100644 --- a/examples/industrial_data_pretraining/whisper/demo_from_openai.py +++ b/examples/industrial_data_pretraining/whisper/demo_from_openai.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="Whisper-small", hub="openai") -- Gitblit v1.9.1