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

update the punc text model, text=doc

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