mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
decoding
This commit is contained in:
parent
fa3e835983
commit
31c7f02d12
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user