diff --git a/paddlespeech/server/conf/application.yaml b/paddlespeech/server/conf/application.yaml index 06ffccef..c8753059 100644 --- a/paddlespeech/server/conf/application.yaml +++ b/paddlespeech/server/conf/application.yaml @@ -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] diff --git a/paddlespeech/server/restful/text_api.py b/paddlespeech/server/restful/text_api.py index 09f7d710..696630fb 100644 --- a/paddlespeech/server/restful/text_api.py +++ b/paddlespeech/server/restful/text_api.py @@ -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