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

Merge pull request #2171 from Betterman-qs/develop

Update engine_warmup.py
......@@ -60,7 +60,10 @@ def warm_up(engine_and_type: str, warm_up_time: int=3) -> bool:
else:
st = time.time()
connection_handler.infer(text=sentence)
connection_handler.infer(
text=sentence,
lang=tts_engine.lang,
am=tts_engine.config.am)
et = time.time()
logger.debug(
f"The response time of the {i} warm up: {et - st} s")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册