Replaced Fictitious color name Fore.ORANGE (#4972)

Changed Colorama.Fore.ORANGE to YELLOW in config.py, As Colorama does not support an ORANGE color. This fixes a fatal error in run.sh when trying to set the API key through the input() method.

Co-authored-by: James Collins <collijk@uw.edu>
This commit is contained in:
GECORegulatory
2023-07-14 12:24:49 -04:00
committed by GitHub
parent 7c4fc45b4a
commit 376ecf0c5f

View File

@@ -367,7 +367,7 @@ def check_openai_api_key(config: Config) -> None:
print(
Fore.GREEN
+ "OpenAI API key successfully set!\n"
+ Fore.ORANGE
+ Fore.YELLOW
+ "NOTE: The API key you've set is only temporary.\n"
+ "For longer sessions, please set it in .env file"
+ Fore.RESET