remove output to set OpenAI API key in config.py

pull/1148/head
fabi.s 2023-04-13 19:05:23 +02:00
parent 0ba2956ee4
commit 1da9dbe671
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def check_openai_api_key():
if not cfg.openai_api_key: if not cfg.openai_api_key:
print( print(
Fore.RED + Fore.RED +
"Please set your OpenAI API key in config.py or as an environment variable." "Please set your OpenAI API key in .env or as an environment variable."
) )
print("You can get your key from https://beta.openai.com/account/api-keys") print("You can get your key from https://beta.openai.com/account/api-keys")
exit(1) exit(1)