mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix
This commit is contained in:
@@ -436,7 +436,7 @@ class settings(object):
|
|||||||
if 'no_save' in self.__dict__:
|
if 'no_save' in self.__dict__:
|
||||||
setattr(self, 'no_save', True)
|
setattr(self, 'no_save', True)
|
||||||
for key, value in json_data.items():
|
for key, value in json_data.items():
|
||||||
if key in self.__dict__:
|
if key in self.__dict__ and key not in self.no_save_variables:
|
||||||
if key == 'sampler_order':
|
if key == 'sampler_order':
|
||||||
if(len(value) < 7):
|
if(len(value) < 7):
|
||||||
value = [6] + value
|
value = [6] + value
|
||||||
|
Reference in New Issue
Block a user