This commit is contained in:
Christian Bastian
2024-09-23 23:15:32 -04:00
3 changed files with 102 additions and 33 deletions

View File

@@ -187,12 +187,15 @@ def ui_rules():
Rule("model-preview-thumbnail-type", "AUTO", str),
Rule("model-preview-fallback-search-safetensors-thumbnail", False, bool),
Rule("model-preview-thumbnail-width", 240, int, 150, 480),
Rule("model-preview-thumbnail-height", 360, int, 185, 480),
Rule("model-show-label-extensions", False, bool),
Rule("model-show-add-button", True, bool),
Rule("model-show-copy-button", True, bool),
Rule("model-show-load-workflow-button", True, bool),
Rule("model-show-open-model-url-button", False, bool),
Rule("model-info-button-on-left", False, bool),
Rule("model-buttons-only-on-hover", False, bool),
Rule("model-add-embedding-extension", False, bool),
Rule("model-add-drag-strict-on-field", False, bool),