xtekky/chatgpt-clone

open_api_key Error

hamidjalili59 opened this issue · 1 comments

I get this error when I try to run the program
self.openai_key = os.environ["OPENAI_API_KEY"] or config['openai_key']
Untitled

you shold make this commands before script run
SET OPENAI_API_KEY=your key
SET OPENAI_API_BASE=https://api.openai.com