From b4cf19af997f19c35e9724e05a5406c594aff124 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Wed, 17 Jan 2024 19:45:41 +0900 Subject: [PATCH] =?UTF-8?q?[talk.py]=20main=20=E3=81=AE=E5=BC=95=E6=95=B0?= =?UTF-8?q?=E3=81=AE=E5=80=8B=E6=95=B0=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talk.py b/talk.py index 24e87ec..7dca59b 100644 --- a/talk.py +++ b/talk.py @@ -15,7 +15,7 @@ class Talk: top_p: int = 1 @classmethod - def main (cls, message: str, name: str | None) -> str: + def main (cls, message: str, name: str | None = None) -> str: openai.organization = OPENAI_ORGANISATION openai.api_key = OPENAI_API_KEY