Bugfix: Add apikey check to loadsettings

This commit is contained in:
KoboldAI Dev 2021-05-10 09:33:41 -04:00
parent 739a8a5268
commit 0e0947d93a
1 changed files with 2 additions and 0 deletions

View File

@ -401,6 +401,8 @@ def loadsettings():
js = json.load(file) js = json.load(file)
# Copy file contents to vars # Copy file contents to vars
if("apikey" in js):
vars.apikey = js["apikey"]
if("andepth" in js): if("andepth" in js):
vars.andepth = js["andepth"] vars.andepth = js["andepth"]
if("temp" in js): if("temp" in js):