mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-18 20:50:45 +01:00
Merge commit '4c7d6f42d99d557130511f5d185249b34f9db5a1' into overhaul-merge
This commit is contained in:
commit
a61e06f876
@ -648,6 +648,8 @@ def loadmodelsettings():
|
||||
vars.badwordsids = js["badwordsids"]
|
||||
if("nobreakmodel" in js):
|
||||
vars.nobreakmodel = js["nobreakmodel"]
|
||||
if("sampler_order" in js):
|
||||
vars.sampler_order = js["sampler_order"]
|
||||
if("temp" in js):
|
||||
vars.temp = js["temp"]
|
||||
if("top_p" in js):
|
||||
@ -691,6 +693,7 @@ def savesettings():
|
||||
js = {}
|
||||
js["apikey"] = vars.apikey
|
||||
js["andepth"] = vars.andepth
|
||||
js["sampler_order"] = vars.sampler_order
|
||||
js["temp"] = vars.temp
|
||||
js["top_p"] = vars.top_p
|
||||
js["top_k"] = vars.top_k
|
||||
@ -767,6 +770,8 @@ def processsettings(js):
|
||||
vars.apikey = js["apikey"]
|
||||
if("andepth" in js):
|
||||
vars.andepth = js["andepth"]
|
||||
if("sampler_order" in js):
|
||||
vars.sampler_order = js["sampler_order"]
|
||||
if("temp" in js):
|
||||
vars.temp = js["temp"]
|
||||
if("top_p" in js):
|
||||
|
Loading…
x
Reference in New Issue
Block a user