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
11aedde72f
Fix save_metadata call to await asynchronous execution in load_metadata function. Fixes #192
2025-05-19 15:01:56 +08:00
Will Miao
db0b49c427
Refactor load_metadata to use save_metadata for updating metadata files
2025-05-15 09:49:30 +08:00
Will Miao
2b405ae164
fix: update load_metadata to set preview_nsfw_level based on civitai data. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/53
2025-05-05 15:46:37 +08:00
Will Miao
c4c926070d
fix: Update optimize_image method to handle image validation and error logging, and adjust metadata preservation logic.
2025-04-15 12:31:17 +08:00
Will Miao
c3192351da
feat: Add support for reading SHA256 from .sha256 file in get_file_info function
2025-04-12 11:59:40 +08:00
Will Miao
56670066c7
refactor: Optimize preview image handling by converting to webp format and improving error logging
2025-04-11 11:17:49 +08:00
Will Miao
7393e92b21
refactor: Consolidate preview file extensions into constants for improved maintainability
2025-04-11 06:19:15 +08:00
Will Miao
8fdfb68741
checkpoint
2025-04-10 09:08:51 +08:00
Will Miao
c31c9c16cf
Enhance LoraScanner and file_utils for improved metadata handling
...
- Updated LoraScanner to first attempt to create metadata from .civitai.info files, improving metadata extraction from existing files.
- Added error handling for reading .civitai.info files and fallback to generating metadata using get_file_info if necessary.
- Refactored file_utils to expose find_preview_file function and added logic to utilize SHA256 from existing .json files to avoid recalculation.
- Improved overall robustness of metadata loading and preview file retrieval processes.
2025-03-28 16:27:59 +08:00
Will Miao
e57a72d12b
Fixed an issue caused by inconsistent base model name for Illustrious. It fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/37
2025-03-13 11:00:55 +08:00
Will Miao
8e5e16ce68
Refactor logging and update badge visibility in UpdateService; improve path normalization in file_utils
2025-03-12 10:06:15 +08:00
Will Miao
2bdecf571b
Add trigger words editting
2025-03-10 17:10:58 +08:00
Will Miao
721bef3ff8
Add tag filtering checkpoint
2025-03-10 13:18:56 +08:00
Will Miao
2d72044d66
Reorganize python files
2025-02-24 20:41:16 +08:00