mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
11 lines
322 B
Bash
11 lines
322 B
Bash
|
|
model="damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch"
|
|
model_revision="v2.0.0"
|
|
|
|
python funasr/bin/inference.py \
|
|
+model=${model} \
|
|
+model_revision=${model_revision} \
|
|
+input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_text/punc_example.txt" \
|
|
+output_dir="./outputs/debug" \
|
|
+device="cpu"
|