Model Previews can now be set in Model View.

- Abstracted out Radio Buttons for Preview selection (mostly clean).
- Added REST API for preview/set and preview/delete.
- Added dateModified to query string so the browser can detect out of date preview images.
- Added image path and dateModified to Model Info payload.
This commit is contained in:
Christian Bastian
2024-02-22 05:11:38 -05:00
parent c4b6ddd5ca
commit d951a508ed
4 changed files with 665 additions and 337 deletions

View File

@@ -34,6 +34,7 @@ I made this fork because the original repo was inactive and missing many things
- View model metadata, including training tags and bucket resolutions.
- Delete or move a model.
- Read, edit and save notes in a `.txt` file beside the model.
- Change or remove preview image.
### ComfyUI Node Graph