Skip to content

Conversation

@supotato6
Copy link
Contributor

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented Aug 21, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Aug 21, 2025
@supotato6 supotato6 force-pushed the develop_fastspeech_pipeline branch from dd5d5ec to 4a9a26f Compare August 22, 2025 09:25

在上述 Python 脚本中,执行了如下几个步骤:

(1)通过 `create_pipeline()` 实例化 text_to_speech 产线对象:具体参数说明如下:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个表格格式不太对

@@ -0,0 +1,27 @@
# Copyright (c) 2024 PaddlePaddle Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

25?

**kwargs: Additional keyword arguments that can be passed to the function.

Returns:
WhisperResult: The predicted whisper results, support str and json output.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whisper?

Comment on lines +90 to +98
if type(input) == str:
if input.endswith("txt"):
if os.path.exists(input):
with open(input, "r", encoding="utf-8") as f:
sentences = f.readlines()
else:
sentences = [input]
elif type(input) == list:
sentences = input
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对于以下两种情况是否需要考虑:

  1. input 为 [path1, path2, path3];
  2. input 为 path,但文件不存在,应报错处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants