From 6b74f6c543f76b188ca5d7b931e3e913203a4d6e Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sun, 10 Dec 2023 02:13:02 +0900 Subject: [PATCH] =?UTF-8?q?run-asyncio.py=E3=81=AE=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/python/run-asyncio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/python/run-asyncio.py b/example/python/run-asyncio.py index 28926b127..70d204a92 100644 --- a/example/python/run-asyncio.py +++ b/example/python/run-asyncio.py @@ -1,3 +1,5 @@ +"""asyncio版のサンプルコードです。""" + import asyncio import dataclasses import json @@ -11,7 +13,6 @@ from voicevox_core.asyncio import OpenJtalk, Synthesizer, VoiceModel -# asyncやawaitは必須です。 async def main() -> None: logging.basicConfig(format="[%(levelname)s] %(name)s: %(message)s") logger = logging.getLogger(__name__)