Things have been tested on my end, but there could be something I've missed, as I've completely refactored the JavaScript code for this PR. Please let me know if something is wrong.
Additionally, everything should work on different browsers and be mobile friendly.
Feature Update Summary
Download Tab
Completely rebuilt.
Supports HuggingFace, Civitai and .json urls.
Optionally overwrite existing model files.
Select model type.
Choose download directory.
Optionally rename file.
Select preview (from model url, custom url, file upload, none).
Model Tab
Overhauled.
Automatically adds directories in CompyUI/models.
Supports directories in extra_model_paths.yaml.
Refresh model grid list.
"Sort By" dropdown.
Search bar for filtering, including quotes for multiple words and minus prefix for excluding keyword.
If first character in search bar is /, directory auto-suggest will appear. Right and left arrow keys to move up and down directories, up and down arrow keys or mouse to select dropdown option, escape to deselect dropdown or blur dropdown and input.
Model preview has info, add model and copy model buttons.
Drag model preview over node to set model path or embedding text.
Model Info View
New.
View (some) model metadata.
Move model.
Delete mode.
Rename model.
Change model preview.
Write and save notes with model.
Settings Tab
New.
Reload and save settings to ui_settings.yaml.
Set Civitai and HuggingFace API keys in server_settings.yaml.
Things have been tested on my end, but there could be something I've missed, as I've completely refactored the JavaScript code for this PR. Please let me know if something is wrong.
Additionally, everything should work on different browsers and be mobile friendly.
Feature Update Summary
Download Tab
Completely rebuilt.
.json
urls.Model Tab
Overhauled.
CompyUI/models
.extra_model_paths.yaml
./
, directory auto-suggest will appear. Right and left arrow keys to move up and down directories, up and down arrow keys or mouse to select dropdown option, escape to deselect dropdown or blur dropdown and input.Model Info View
New.
Settings Tab
New.
ui_settings.yaml
.server_settings.yaml
.Server
Overhauled.