mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-22 13:19:52 +01:00
fix settings name not being correct for loaded models
This commit is contained in:
parent
c7a6309fa2
commit
542f30cdc4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user