From 62921c4896add123656f004d92189a02373657af Mon Sep 17 00:00:00 2001 From: Henk Date: Tue, 27 Sep 2022 21:11:31 +0200 Subject: [PATCH] getmodelname for configname --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index 369785be..2003b532 100644 --- a/aiserver.py +++ b/aiserver.py @@ -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