Skip to content

Commit

Permalink
fix: webui no longer incorrectly writes out extra/unused fields
Browse files Browse the repository at this point in the history
Any user relying on the webui likely didn't notice these fields, as they would be unlikely to read the file directly, but in the event that they do/did, the presence of these fields would only serve to confuse, as they are only used internally by webui and are unused by the worker.
  • Loading branch information
tazlin committed Jun 24, 2023
1 parent 6abf758 commit 5836acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def save_config(self, args):
config = self.reload_config()

# Merge values which require some pre-processing
skipped_keys = ["models_on_disk"]
skipped_keys = ["models_on_disk", "special_models_to_load", "special_top_models_to_load"]
models_to_load = []
for key, value in args.items():
cfgkey = self._cfg(key.label)
Expand Down

0 comments on commit 5836acd

Please sign in to comment.