mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
change lm task name
This commit is contained in:
parent
00f5ea6244
commit
6f9c735c7f
@ -7,7 +7,7 @@ from modelscope.pipelines import pipeline
|
||||
from modelscope.utils.constant import Tasks
|
||||
|
||||
inference_pipline = pipeline(
|
||||
task=Tasks.language_model,
|
||||
task=Tasks.language_score_prediction,
|
||||
model='damo/speech_transformer_lm_zh-cn-common-vocab8404-pytorch',
|
||||
output_dir="./tmp/"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user