This commit is contained in:
游雁 2024-06-14 10:57:49 +08:00
parent fa3e835983
commit 31c7f02d12
2 changed files with 4 additions and 2 deletions

View File

@ -6,8 +6,10 @@
import sys
from funasr import AutoModel
model_dir=sys.argv[1]
input_file=sys.argv[2]
model_dir = "/Users/zhifu/Downloads/modelscope_models/ctc_model"
input_file = (
"https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav"
)
model = AutoModel(
model=model_dir,