visual-chatgpt
visual-chatgpt copied to clipboard
export openai_api_key
Did not find openai_api_key, please add an environment variable OPENAI_API_KEY
which contains it, or pass openai_api_key
as a named parameter. (type=value_error)
#53 Checkout this may help you to resolve your issue.
I have also faced the same issue then I added this code in visual_chatgpt.py file
os.environ["OPENAI_API_KEY"] = "{your_openai_key}"
I just cloned this project and my visual_chatgpt.py file does not contain 940 lines, but I just added the code you mentioned above and it worked!
#53 Checkout this may help you to resolve your issue. I have also faced the same issue then I added this code in visual_chatgpt.py file
os.environ["OPENAI_API_KEY"] = "{your_openai_key}"
Thanks, it works!
#53 Checkout this may help you to resolve your issue. I have also faced the same issue then I added this code in visual_chatgpt.py file
os.environ["OPENAI_API_KEY"] = "{your_openai_key}"
thx,it works!
#53 Checkout this may help you to resolve your issue. I have also faced the same issue then I added this code in visual_chatgpt.py file
os.environ["OPENAI_API_KEY"] = "{your_openai_key}"
thnaks !!! it works