getmodelname for configname
This commit is contained in:
parent
6c32bc18d7
commit
62921c4896
|
@ -2147,7 +2147,7 @@ def load_model(use_gpu=True, gpu_layers=None, disk_layers=None, initial_load=Fal
|
|||
vars.badwordsids = vars.badwordsids_default
|
||||
|
||||
if online_model == "":
|
||||
vars.configname = vars.model.replace('/', '_')
|
||||
vars.configname = getmodelname()
|
||||
#Let's set the GooseAI or OpenAI server URLs if that's applicable
|
||||
else:
|
||||
vars.online_model = online_model
|
||||
|
|
Loading…
Reference in New Issue