zhifu gao
2024-08-27 e8f535f53320780cd8ed6f3b8588b187935d3ae5
1
2
3
4
5
6
7
8
9
10
11
 
model="iic/speech_timestamp_prediction-v1-16k-offline"
 
 
python funasr/bin/inference.py \
+model=${model} \
+input='["https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav", "欢迎大家来到魔搭社区进行体验"]' \
+data_type='["sound", "text"]' \
+output_dir="../outputs/debug" \
+device="cpu" \
+batch_size=2