From 10f0806a4cb005671c769b8db4d333a19821ce18 Mon Sep 17 00:00:00 2001 From: canxin <1969730106@qq.com> Date: Thu, 20 Jul 2023 13:48:01 +0800 Subject: [PATCH] update --- src/Bard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bard.py b/src/Bard.py index 6d80743..ab4db80 100644 --- a/src/Bard.py +++ b/src/Bard.py @@ -317,14 +317,14 @@ async def ask(self, message: str) -> dict: sys.exit(0) parser = argparse.ArgumentParser() parser.add_argument( - "--__Secure_1PSID --__Secure_1PSIDTS", + "--session --session_ts", help="__Secure-1PSID cookie and __Secure_1PSIDTS cookie.", type=str, required=True, ) args = parser.parse_args() - chatbot = Chatbot(args.__Secure_1PSID, args.__Secure_1PSIDTS) + chatbot = Chatbot(args.session, args.session_ts) prompt_session = __create_session() completions = __create_completer(["!exit", "!reset"])