This commit is contained in:
Dazed 2023-11-21 10:18:52 -06:00
parent 5eff25bd4b
commit 0813ff37ac

View file

@ -18,7 +18,7 @@ from tqdm import tqdm
#Globals
load_dotenv()
if os.getenv('api') != ''.replace(' ', ''):
if os.getenv('api').replace(' ', '') != '':
openai.api_base = os.getenv('api')
openai.organization = os.getenv('org')