yufan
2024-03-04 a0416f8d00808a6626fea343f37653e8eabed621
atsr (#1419)

Co-authored-by: 语帆 <yf352572@alibaba-inc.com>
1个文件已修改
2 ■■■■■ 已修改文件
examples/industrial_data_pretraining/lcbnet/demo.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
examples/industrial_data_pretraining/lcbnet/demo.py
@@ -8,6 +8,8 @@
model = AutoModel(model="iic/LCB-NET",
                  model_revision="v1.0.0")
res = model.generate(input=("https://www.modelscope.cn/api/v1/models/iic/LCB-NET/repo?Revision=master&FilePath=example/asr_example.wav","https://www.modelscope.cn/api/v1/models/iic/LCB-NET/repo?Revision=master&FilePath=example/ocr.txt"),data_type=("sound", "text"))
print(res)