From e3aeedfe1665d71b18d6a50aa8d2565eed8f9f8d Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 28 Oct 2022 21:34:05 -0400 Subject: [PATCH] Minor fix --- koboldai_settings.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/koboldai_settings.py b/koboldai_settings.py index d6fa9e89..c3361eda 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -789,13 +789,16 @@ class story_settings(settings): # {"target": "(tm)", "substitution": "™", "enabled": False}, ] - #must be at bottom - self.no_save = False #Temporary disable save (doesn't save with the file) - # bias experiment self.memory_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): 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: