From e2dc204d4d971c3acf92f85e720de9e0a1e4b219 Mon Sep 17 00:00:00 2001 From: Betterman-qs Date: Wed, 20 Jul 2022 09:52:37 +0800 Subject: [PATCH] update engine_warmup.py, test=tts --- paddlespeech/server/engine/engine_warmup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlespeech/server/engine/engine_warmup.py b/paddlespeech/server/engine/engine_warmup.py index b7a05cd9..3751554c 100644 --- a/paddlespeech/server/engine/engine_warmup.py +++ b/paddlespeech/server/engine/engine_warmup.py @@ -61,7 +61,7 @@ def warm_up(engine_and_type: str, warm_up_time: int=3) -> bool: else: st = time.time() connection_handler.infer( - text=sentence, + text=sentence, lang=tts_engine.lang, am=tts_engine.config.am) et = time.time()