getmodelname for configname

This commit is contained in:
Henk 2022-09-27 21:11:31 +02:00
parent 6c32bc18d7
commit 62921c4896
1 changed files with 1 additions and 1 deletions

View File

@ -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