diff --git a/koboldai_settings.py b/koboldai_settings.py index 0d7cee23..c3af317f 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -707,6 +707,9 @@ class system_settings(settings): serverstarted = value if name not in self.local_only_variables and name[0] != "_" and not new_variable: process_variable_changes(self.socketio, self.__class__.__name__.replace("_settings", ""), name, value, old_value) + + if name == "aibusy" and value == False: + koboldai_vars.abort = False class KoboldStoryRegister(object): def __init__(self, socketio, story_settings, koboldai_vars, tokenizer=None, sequence=[]): diff --git a/static/koboldai.js b/static/koboldai.js index 4d9d907e..89e6878d 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -427,6 +427,9 @@ function do_ai_busy(data) { } favicon.stop_swap() document.getElementById('btnsend').textContent = "Submit"; + for (item of document.getElementsByClassName('statusbar_outer')) { + item.classList.add("hidden"); + } } }