未验证 提交 ab656aab 编写于 作者: L liangym 提交者: GitHub

Merge pull request #1713 from lym0302/tts_stream

[server] add streaming am infer
......@@ -52,6 +52,10 @@ def get_chunks(data, block_size, pad_size, step):
Returns:
list: chunks list
"""
if block_size == -1:
return [data]
if step == "am":
data_len = data.shape[1]
elif step == "voc":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册