File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
paddlex/inference/pipelines/text_to_speech Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
1+ # Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
22#
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
1717pipeline = create_pipeline (pipeline = "text_to_speech" )
1818
1919output = pipeline .predict (
20- "今天天气真的很好 "
20+ "根据您的情况,建议低盐饮食配合轻度活动,已为您推荐了健康的食谱 "
2121)
2222
2323for res in output :
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def predict(
8585 **kwargs: Additional keyword arguments that can be passed to the function.
8686
8787 Returns:
88- WhisperResult : The predicted whisper results, support str and json output.
88+ PwganResult : The predicted pwgan results, support str and json output.
8989 """
9090 if type (input ) == str :
9191 if input .endswith ("txt" ):
You can’t perform that action at this time.
0 commit comments