problem running the code
haniehkh18 opened this issue · comments
I get the below error when I run the command in Windows:
C:\Data\Llama2-Code-Interpreter\code_interpreter\GPTCodeInterpreter.py:24 in │
│ │
│ 21 from termcolor import colored │
│ 22 │
│ 23 # load from key file │
│ ❱ 24 with open('./openai_api_key.txt') as f: │
│ 25 │ OPENAI_API_KEY = key = f.read() │
│ 26 openai.api_key = OPENAI_API_KEY │
│ 27 from utils.cleaner import clean_error_msg │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
FileNotFoundError: [Errno 2] No such file or directory: './openai_api_key.txt'
Same with the mac.
Adding HF model. So no need to import openai_api_key.txt anymore I will rebase the code as soon as possible.