From 275fb33b9f7cd39ef2f4f1a9ecba7a0f63153b35 Mon Sep 17 00:00:00 2001 From: Crizomb <62544756+Crizomb@users.noreply.github.com> Date: Fri, 7 Apr 2023 15:22:30 +0200 Subject: [PATCH] added create_user_data --- chatgpt_code_interface/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chatgpt_code_interface/main.py b/chatgpt_code_interface/main.py index 3a39e1f..29c0223 100644 --- a/chatgpt_code_interface/main.py +++ b/chatgpt_code_interface/main.py @@ -91,6 +91,10 @@ def main(launch_first_prompt=False, first_prompt=None): if (j + 5) % 24 == 0: # Wait 3 hours. GPT-4 is limited to 25 requests per 3 hours time.sleep(60 * 60 * 3) + + +def create_user_data(): + GPTDriver.create_user_data_dir() if __name__ == "__main__": main()