Skip to content

Commit a693b52

Browse files
committed
fix comment
1 parent d8d1b30 commit a693b52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api_examples/pipelines/test_text_to_speech.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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.
@@ -17,7 +17,7 @@
1717
pipeline = create_pipeline(pipeline="text_to_speech")
1818

1919
output = pipeline.predict(
20-
"今天天气真的很好"
20+
"根据您的情况,建议低盐饮食配合轻度活动,已为您推荐了健康的食谱"
2121
)
2222

2323
for res in output:

paddlex/inference/pipelines/text_to_speech/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"):

0 commit comments

Comments
 (0)