fix settings name not being correct for loaded models

This commit is contained in:
Divided by Zer0 2022-09-05 18:03:21 +02:00
parent c7a6309fa2
commit 542f30cdc4

View File

@ -2098,7 +2098,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
vars.configname = vars.model.replace('/', '_')
#Let's set the GooseAI or OpenAI server URLs if that's applicable
else:
vars.online_model = online_model