提交 9e504480 编写于 作者: X xiongxinlei

update the punc text model, text=doc

上级 2fa1522b
......@@ -160,7 +160,7 @@ cls_inference:
################### text task: punc; engine_type: python #######################
text_python:
task: punc
model_type: 'ernie_linear_p7_wudao'
model_type: 'ernie_linear_p3_wudao'
lang: 'zh'
sample_rate: 16000
cfg_path: # [optional]
......
......@@ -33,7 +33,7 @@ def help():
"""help
Returns:
json: [description]
json: The /paddlespeech/text api response content
"""
response = {
"success": "True",
......@@ -42,9 +42,7 @@ def help():
"global": "success"
},
"result": {
"description": "text server",
"input": "text string",
"output": "punctuation text"
"punc_text": "The punctuation text content"
}
}
return response
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册