Fix if
This commit is contained in:
parent
5eff25bd4b
commit
0813ff37ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue