From d7040a7dd5c9afd09665cc88a663f6e35ea047fd Mon Sep 17 00:00:00 2001 From: Hiroshiba Date: Fri, 10 Nov 2023 22:26:28 +0900 Subject: [PATCH] =?UTF-8?q?python=E3=82=B5=E3=83=B3=E3=83=97=E3=83=AB?= =?UTF-8?q?=E3=81=8C=E5=AE=9F=E8=A1=8C=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=8B?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/python/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/python/run.py b/example/python/run.py index 27b787b00..922f4d3a5 100644 --- a/example/python/run.py +++ b/example/python/run.py @@ -36,7 +36,7 @@ async def main() -> None: logger.debug("%s", f"{voicevox_core.supported_devices()=}") logger.info("%s", f"Initializing ({acceleration_mode=}, {open_jtalk_dict_dir=})") - synthesizer = Synthesizer( + synthesizer = await Synthesizer.new_with_initialize( OpenJtalk(open_jtalk_dict_dir), acceleration_mode=acceleration_mode )