语帆
2024-03-04 9876729a257b2ebb6c9289e7d442c8e086d96e7b
examples/industrial_data_pretraining/lcbnet/demo.py
@@ -10,9 +10,8 @@
# example1
#res = model.generate(input="https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/test_audio/asr_example_zh.wav",
#                    )
#print(res)
res = model.generate(input='["~/.cache/modelscope/hub/iic/LCB-NET/example/asr_example.wav","~/.cache/modelscope/hub/iic/LCB-NET/example/ocr.txt"]',data_type='["sound", "text"]')
print(res)
'''