mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
parent
cae52c52f3
commit
a0416f8d00
@ -8,6 +8,8 @@ from funasr import AutoModel
|
|||||||
model = AutoModel(model="iic/LCB-NET",
|
model = AutoModel(model="iic/LCB-NET",
|
||||||
model_revision="v1.0.0")
|
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"))
|
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)
|
print(res)
|
||||||
Loading…
Reference in New Issue
Block a user