mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
atsr
This commit is contained in:
parent
beb5db6c1c
commit
9876729a25
@ -10,9 +10,8 @@ model = AutoModel(model="iic/LCB-NET",
|
||||
|
||||
|
||||
# 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)
|
||||
|
||||
|
||||
'''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user