mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Abort fix for new UI
This commit is contained in:
@@ -708,6 +708,9 @@ class system_settings(settings):
|
||||
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=[]):
|
||||
self.socketio = socketio
|
||||
|
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user