mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Minor fix
This commit is contained in:
@@ -789,13 +789,16 @@ class story_settings(settings):
|
|||||||
# {"target": "(tm)", "substitution": "™", "enabled": False},
|
# {"target": "(tm)", "substitution": "™", "enabled": False},
|
||||||
]
|
]
|
||||||
|
|
||||||
#must be at bottom
|
|
||||||
self.no_save = False #Temporary disable save (doesn't save with the file)
|
|
||||||
|
|
||||||
# bias experiment
|
# bias experiment
|
||||||
self.memory_attn_bias = 1
|
self.memory_attn_bias = 1
|
||||||
self.an_attn_bias = 1
|
self.an_attn_bias = 1
|
||||||
|
|
||||||
|
|
||||||
|
################### must be at bottom #########################
|
||||||
|
self.no_save = False #Temporary disable save (doesn't save with the file)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def save_story(self):
|
def save_story(self):
|
||||||
if not self.no_save:
|
if not self.no_save:
|
||||||
if self.prompt != "" or self.memory != "" or self.authornote != "" or len(self.actions) > 0 or len(self.worldinfo_v2) > 0:
|
if self.prompt != "" or self.memory != "" or self.authornote != "" or len(self.actions) > 0 or len(self.worldinfo_v2) > 0:
|
||||||
|
Reference in New Issue
Block a user