mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-26 00:17:41 +01:00
Merge pull request #202 from db0/configfile_fix
fix settings name not being correct for loaded models
This commit is contained in:
commit
78d720037f
@ -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…
x
Reference in New Issue
Block a user