Will Miao
78cac2edc2
Add DoRA type support. move VALID_LORA_TYPES to utils.constants and update imports in recipe parsers and API routes.
2025-06-12 09:25:00 +08:00
Will Miao
26d105c439
Enhance Civitai model handling: add get_model_version method for detailed metadata retrieval, update routes to utilize new method, and improve URL handling in context menu for model re-linking.
2025-06-11 22:06:16 +08:00
Will Miao
eb01ad3af9
Refactor model response inclusion to only include groups with multiple models; update model removal logic to accept hash value. See #221
2025-06-11 19:52:44 +08:00
Will Miao
e0d9880b32
Remove duplicate hash entries with a single path in get_duplicate_hashes method
2025-06-11 17:33:13 +08:00
Will Miao
e81e96f0ab
Refactor file monitoring and model scanning; remove unused monitors and streamline model file deletion process.
2025-06-11 17:02:10 +08:00
Will Miao
06d5bd259c
Refactor model file processing in ModelScanner to determine root paths and enhance error logging for missing roots.
2025-06-11 15:53:35 +08:00
Will Miao
14238b8d62
Update preview URL handling in load_metadata function to reflect model location changes. See #113
2025-06-11 15:43:12 +08:00
Will Miao
3b51886927
Add cache file control to ModelScanner; implement flags to enable/disable cache usage and clear cache files accordingly. See #222
2025-06-11 09:17:10 +08:00
Will Miao
787e37b7c6
Add CivitAI re-linking functionality and related UI components. Fixes #216
...
- Implemented new API endpoints for re-linking models to CivitAI.
- Added context menu options for re-linking in both Lora and Checkpoint context menus.
- Created a modal for user confirmation and input for CivitAI model URL.
- Updated styles for the new modal and context menu items.
- Enhanced error handling and user feedback during the re-linking process.
2025-06-09 17:23:03 +08:00
Will Miao
d8ddacde38
Remove 'folder' field from model metadata before saving to file. See #211
2025-06-09 11:26:24 +08:00
Will Miao
7a4139544c
Add method to update model metadata from local example images. Fixes #211
2025-06-08 20:10:36 +08:00
Will Miao
4d6ea0236b
Add centralized example images setting and update related UI components
2025-06-08 17:38:46 +08:00
Will Miao
e872a06f22
Refactor MiscRoutes and move example images related api to ExampleImagesRoutes
2025-06-08 14:40:30 +08:00
Will Miao
647bda2160
Add API endpoint and frontend integration for fetching example image files
2025-06-07 22:31:57 +08:00
Will Miao
c96550cc68
Enhance migration and download processes: add backend path update and prevent duplicate completion toasts
2025-06-07 11:29:53 +08:00
Will Miao
b1015ecdc5
Add migration functionality for example images: implement API endpoint and UI controls
2025-06-07 11:27:25 +08:00
Will Miao
9d1b357e64
Enhance cache validation logic: add logging for version and model type mismatches, and relax directory structure checks to improve cache validity.
2025-06-04 20:47:14 +08:00
Will Miao
9fc2fb4d17
Enhance model caching and exclusion functionality: update cache version, add excluded models to cache data, and ensure cache is saved to disk after model exclusion and deletion.
2025-06-04 18:38:45 +08:00
Will Miao
b4e7feed06
Enhance trained words extraction and display: include class tokens in response and update UI accordingly. See #147
2025-06-04 12:04:38 +08:00
Will Miao
4b96c650eb
Enhance example image handling: improve filename extraction and fallback for local images
2025-06-04 11:30:56 +08:00
Will Miao
107aef3785
Enhance SaveImage and TriggerWordToggle: add tooltips for parameters to improve user guidance
2025-06-03 19:40:01 +08:00
Will Miao
e5ef2ef8b5
Add default_active parameter to TriggerWordToggle for controlling default state
2025-06-03 17:45:52 +08:00
Will Miao
2d39b84806
Add CivitaiApiMetadataParser and improve recipe parsing logic for Civitai images. Also fixes #197
...
Additional info: Now prioritizes using the Civitai Images API to fetch image and generation metadata. Even NSFW images can now be imported via URL.
2025-06-03 14:58:43 +08:00
Will Miao
99d2ba26b9
Add API endpoint for fetching trained words and implement dropdown suggestions in the trigger words editor. See #147
2025-06-02 17:04:33 +08:00
Will Miao
7545312229
Add bulk delete endpoint for checkpoints and enhance ModelDuplicatesManager for better handling of model types
2025-06-02 08:54:31 +08:00
Will Miao
26f9779fbf
Add bulk delete functionality for loras and implement model duplicates management. See #198
...
- Introduced a new API endpoint for bulk deleting loras.
- Added ModelDuplicatesManager to handle duplicate models for loras and checkpoints.
- Implemented UI components for displaying duplicates and managing selections.
- Enhanced controls with a button for finding duplicates.
- Updated templates to include a duplicates banner and associated actions.
2025-06-02 08:08:45 +08:00
Will Miao
0bd62eef3a
Add endpoints for finding duplicate loras and filename conflicts; implement tracking for duplicates in ModelHashIndex and update ModelScanner to handle new data structures.
2025-05-31 20:50:51 +08:00
Will Miao
e06d15f508
Remove LoraHashIndex class and related functionality to streamline codebase.
2025-05-31 20:25:12 +08:00
Will Miao
aa1ee96bc9
Add versioning and history tracking to usage statistics. Implement backup and conversion for old stats format, enhancing data structure for checkpoints and loras.
2025-05-31 16:38:18 +08:00
Will Miao
37de26ce25
Enhance Lora code update handling for browser and desktop modes. Implement broadcast support for Lora Loader nodes and improve node ID management in the workflow.
2025-05-30 20:12:38 +08:00
Will Miao
c62206a157
Add preprocessing for MessagePack serialization to handle large integers. See #201
2025-05-30 10:55:48 +08:00
Will Miao
09832141d0
Add functionality to open example images folder for models
2025-05-30 09:42:36 +08:00
Will Miao
68568073ec
Refactor model caching logic to streamline adding models and ensure disk persistence
2025-05-30 07:34:39 +08:00
Will Miao
ec36524c35
Add Civitai image URL optimization and simplify image processing logic
2025-05-29 22:20:16 +08:00
Will Miao
67acd9fd2c
Relax cache validation by removing strict modification time checks, allowing users to refresh the cache as needed.
2025-05-29 20:58:06 +08:00
Will Miao
f7be5c8d25
Change log level to info for cache save operation and ensure cache is saved to disk after updating preview URL
2025-05-29 20:09:58 +08:00
Will Miao
bae66f94e8
Add full rebuild option to model refresh functionality and enhance dropdown controls
2025-05-29 15:51:45 +08:00
Will Miao
ddf132bd78
Add cache management feature: implement clear cache API and modal confirmation
2025-05-29 14:36:13 +08:00
Will Miao
afb012029f
Enhance get_cached_data method: improve cache rebuilding logic and ensure cache is saved after initialization
2025-05-29 08:50:17 +08:00
Will Miao
651e14c8c3
Enhance get_cached_data method: add rebuild_cache option for improved cache management
2025-05-29 08:36:18 +08:00
Will Miao
e7c626eb5f
Add MessagePack support for efficient cache serialization and update dependencies
2025-05-28 22:30:06 +08:00
Will Miao
6e5f333364
Enhance model file moving logic: support moving associated files and handle metadata paths
2025-05-27 05:41:39 +08:00
Will Miao
f33a9abe60
Limit Lora hash display to first 10 characters and improve WebP metadata handling
2025-05-22 16:29:12 +08:00
Will Miao
7f1bbdd615
Remove debug print statement for primary sampler ID in MetadataProcessor
2025-05-22 16:01:55 +08:00
Will Miao
a073b82751
Enhance WebP image saving: add EXIF data and workflow metadata support. Fixes #193
2025-05-21 19:17:12 +08:00
Will Miao
8250acdfb5
Add creator information display to Lora and Checkpoint modals. #186
2025-05-21 15:31:23 +08:00
Will Miao
50704bc882
Enhance error handling and input validation in fetch_and_update_model method
2025-05-20 13:57:22 +08:00
Will Miao
35d34e3513
Revert db0b49c427 Refactor load_metadata to use save_metadata for updating metadata files
2025-05-19 21:46:01 +08:00
Will Miao
ea834f3de6
Revert "Enhance metadata processing in ModelScanner: prevent intermediate writes, restore missing civitai data, and ensure base_model consistency. #185 "
...
This reverts commit 99b36442bb .
2025-05-19 21:39:31 +08:00
Will Miao
11aedde72f
Fix save_metadata call to await asynchronous execution in load_metadata function. Fixes #192
2025-05-19 15:01:56 +08:00