diff --git a/koboldai_settings.py b/koboldai_settings.py index 4d688d26..b6c68097 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -1253,7 +1253,8 @@ class system_settings(settings): 'lua_koboldcore', 'sp', 'sp_length', '_horde_pid', 'horde_share', 'aibusy', 'serverstarted', 'inference_config', 'image_pipeline', 'summarizer', 'on_colab' 'summary_tokenizer', 'use_colab_tpu', 'noai', 'disable_set_aibusy', 'cloudflare_link', 'tts_model', - 'generating_image', 'bit_8_available', 'host', 'hascuda', 'usegpu', 'rng_states', 'comregex_ai', 'comregex_ui', 'git_repository', 'git_branch', 'colab_arg'] + 'generating_image', 'bit_8_available', 'host', 'hascuda', 'usegpu', 'rng_states', 'comregex_ai', 'comregex_ui', 'git_repository', 'git_branch', 'colab_arg', + 'disable_load'] settings_name = "system" def __init__(self, socketio, koboldai_var): self._socketio = socketio @@ -1340,7 +1341,7 @@ class system_settings(settings): self.seen_messages = [] self.git_repository = "" self.git_branch = "" - self._disable_load = False + self.disable_model_load = False @dataclass diff --git a/static/koboldai.css b/static/koboldai.css index 2995961b..e34aca40 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -3592,7 +3592,7 @@ body.NotConnected { display: none; } -.settings_button[system__disable_load="true"] { +.settings_button[system_disable_model_load="true"] { cursor: not-allowed; pointer-events: none; } diff --git a/templates/settings flyout.html b/templates/settings flyout.html index 4d63ec0f..77a788fd 100644 --- a/templates/settings flyout.html +++ b/templates/settings flyout.html @@ -39,7 +39,7 @@