Browse Source

[talk.py] main の引数の個数不一致

btc-sounds
みてるぞ 10 months ago
parent
commit
b4cf19af99
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      talk.py

+ 1
- 1
talk.py View File

@@ -15,7 +15,7 @@ class Talk:
top_p: int = 1 top_p: int = 1


@classmethod @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.organization = OPENAI_ORGANISATION
openai.api_key = OPENAI_API_KEY openai.api_key = OPENAI_API_KEY




Loading…
Cancel
Save