zhifu gao
2024-05-06 00d0df3a1018c63ec8c5d13e611f53c564c0a7e2
examples/industrial_data_pretraining/conformer/demo.py
@@ -8,6 +8,7 @@
model = AutoModel(model="iic/speech_conformer_asr_nat-zh-cn-16k-aishell2-vocab5212-pytorch")
res = model.generate(
    input="https://modelscope.oss-cn-beijing.aliyuncs.com/test/audios/asr_example.wav"
    input="https://modelscope.oss-cn-beijing.aliyuncs.com/test/audios/asr_example.wav",
    decoding_ctc_weight=0.0,
)
print(res)