mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for issue 26 and CSS adjustments
This commit is contained in:
@@ -6365,6 +6365,8 @@ def UI_2_redo(data):
|
||||
#==================================================================#
|
||||
@socketio.on('retry')
|
||||
def UI_2_retry(data):
|
||||
if koboldai_vars.numseqs == 1:
|
||||
UI_2_back(None)
|
||||
koboldai_vars.actions.clear_unused_options()
|
||||
koboldai_vars.lua_koboldbridge.feedback = None
|
||||
koboldai_vars.recentrng = koboldai_vars.recentrngm = None
|
||||
|
@@ -361,6 +361,7 @@ class story_settings(settings):
|
||||
self.recentedit = False
|
||||
self.notes = "" #Notes for the story. Does nothing but save
|
||||
self.biases = {} # should look like {"phrase": [score, completion_threshold]}
|
||||
self.story_id = int.from_bytes(os.urandom(16), 'little', signed=True) # this is a unique ID for the story. We'll use this to ensure when we save that we're saving the same story
|
||||
|
||||
def save_story(self):
|
||||
print("Saving")
|
||||
|
@@ -17,15 +17,15 @@
|
||||
--text_to_ai_color: #CCECFF;
|
||||
--text_edit: #cdf;
|
||||
--flyout_background: #18222a;
|
||||
--setting_background: #2c3a51;
|
||||
--setting_text: white;
|
||||
--dropdown-select: white;
|
||||
--dropdown-background: #212734;
|
||||
--preset-item-background: black;
|
||||
--setting_background: #273141;
|
||||
--setting_text: #f2ff65;
|
||||
--dropdown-select: white;
|
||||
--dropdown-background: #1a242b;
|
||||
--preset-item-background: black;
|
||||
--tooltip_text: white;
|
||||
--tooltip_background: #212734;
|
||||
--gamescreen_background: #121a1e;
|
||||
--textarea_background: #1a242b;
|
||||
--gamescreen_background: #12181c;
|
||||
--textarea_background: #0f1920;
|
||||
--options_background: #404040;
|
||||
--enabled_button_text: #fff;
|
||||
--enabled_button_background_color: #4259a0;
|
||||
|
@@ -1249,6 +1249,11 @@ function world_info_folder(data) {
|
||||
}
|
||||
|
||||
//--------------------------------------------UI to Server Functions----------------------------------
|
||||
function save_as_story() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
function save_bias(item) {
|
||||
|
||||
var have_blank = false;
|
||||
|
Reference in New Issue
Block a user