Will Miao
32d2b6c013
fix: disable pysssss autocomplete in Lora-related nodes
...
Disable PySSSS autocomplete functionality in:
- Lora Loader
- Lora Stacker
- WanVideo Lora Select node
2025-08-19 08:54:12 +08:00
Will Miao
9c45d9db6c
feat: Enhance WanVideoLoraSelect with improved low_mem_load and merge_loras options for better LORA management, see #363
2025-08-18 15:05:57 +08:00
Will Miao
3050bbe260
fix: improve image handling logic to ensure input is always a list or array, see #346
2025-08-09 07:20:28 +08:00
Will Miao
e6b94c7b21
refactor: remove unused import and simplify filename handling in ModelHashIndex, fixes #342
2025-08-06 19:11:07 +08:00
Will Miao
bd95e802ec
refactor: Replace asynchronous service calls with synchronous counterparts in SaveImage and ServiceRegistry. Fixes #282
2025-07-11 22:48:39 +08:00
Will Miao
5de16a78c5
refactor: Replace asyncio.run with synchronous get_lora_info calls in LoraManagerLoader, LoraStacker, WanVideoLoraSelect, and ApiRoutes. See #282
2025-07-11 07:24:33 +08:00
Will Miao
a6f04c6d7e
refactor: Remove unused imports and dependencies from utils, recipe_routes, requirements, and pyproject files. See #278
2025-07-10 16:36:28 +08:00
Will Miao
cad5fb3fba
feat: Add mock module creation for py/nodes directory to prevent loading modules from the nodes directory
2025-06-30 20:19:37 +08:00
Will Miao
fc4327087b
Add WanVideo Lora Select node and related functionality. Fixes #266
...
- Implemented the WanVideo Lora Select node in Python with input handling for low memory loading and LORA syntax processing.
- Updated the JavaScript side to register the new node and manage its widget interactions.
- Enhanced constants files to include the new node type and its corresponding ID.
- Modified existing Lora Loader and Stacker references to accommodate the new node in various workflows and UI components.
- Added example workflow JSON for the new node to demonstrate its usage.
2025-06-30 15:10:34 +08:00
Will Miao
71762d788f
Add Lora Loader node support for Nunchaku SVDQuant FLUX model architecture with template workflow. Fixes #255
2025-06-29 23:57:50 +08:00
Will Miao
2471eb518a
fix: correct key reference in process_trigger_words and update comment for widget values. Fixes #254
2025-06-25 20:57:12 +08:00
Will Miao
2ff11a16c4
feat: implement DebugMetadata node with metadata display and update functionality
2025-06-20 14:17:39 +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
f33a9abe60
Limit Lora hash display to first 10 characters and improve WebP metadata handling
2025-05-22 16:29:12 +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
d0c728a339
Enhance node tracing logic and improve prompt handling in metadata processing. See #189
2025-05-17 15:40:05 +08:00
Will Miao
fa08c9c3e4
Update version to 0.8.13; enhance recipe management and source tracking features in release notes
2025-05-09 11:38:46 +08:00
Will Miao
969f949330
refactor(lora-loader, lora-stacker, loras-widget): enhance handling of model and clip strengths; update formatting and UI interactions. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/171
2025-05-09 11:05:59 +08:00
Will Miao
b395d3f487
fix: Update filename formatting in save_images method to ensure unique filenames for batch images
2025-04-21 15:42:49 +08:00
Will Miao
e70fd73bdd
feat: Implement trigger words API and update frontend integration for LoraManager. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/43
2025-04-20 22:27:53 +08:00
Will Miao
9bb9e7b64d
refactor: Extract common methods for Lora handling into utils.py and update references in lora_loader.py and lora_stacker.py
2025-04-20 21:35:36 +08:00
Will Miao
eadb1487ae
feat: Refactor metadata formatting to use helper function for conditional parameter addition
2025-04-19 23:00:09 +08:00
Will Miao
1faa70fc77
feat: Implement filename-based hash retrieval in LoraScanner and ModelScanner for improved compatibility
2025-04-19 21:12:26 +08:00
Will Miao
fb6a652a57
feat: Add checkpoint hash retrieval and enhance metadata formatting in SaveImage class
2025-04-18 23:55:45 +08:00
Will Miao
4766b45746
feat: Update SaveImage node to modify default lossless_webp setting and adjust save_kwargs for image formats
2025-04-18 10:52:39 +08:00
Will Miao
f0203c96ab
feat: Simplify format_metadata method by removing custom_prompt parameter and update related function calls
2025-04-18 05:34:42 +08:00
Will Miao
5fd069d70d
feat: Enhance checkpoint processing in format_metadata to handle non-string types safely
2025-04-17 09:38:20 +08:00
Will Miao
d4b2dd0ec1
refactor: Rename to_comfyui_format method to to_dict and update references in save_image.py
2025-04-16 21:42:54 +08:00
Will Miao
8ed38527d0
feat: Implement metadata collection and processing framework with debug node for verification
2025-04-16 20:04:26 +08:00
Will Miao
4ec2a448ab
feat: Improve date formatting in filename generation with zero-padding and two-digit year support. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/102
2025-04-15 10:46:57 +08:00
Will Miao
3e2cfb552b
Refactor image saving logic for batch processing and unique filename generation. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/79
2025-04-07 14:37:39 +08:00
Will Miao
9613199152
Enhance SaveImage functionality with custom prompt support
...
- Added a new optional parameter `custom_prompt` to the SaveImage class methods to allow users to override the default prompt.
- Updated the `format_metadata` method to utilize the custom prompt if provided.
- Modified the `save_images` and `process_image` methods to accept and pass the custom prompt through the workflow processing.
2025-04-04 07:47:46 +08:00
Will Miao
aec218ba00
Enhance SaveImage class with filename formatting and multiple image support
...
- Updated the INPUT_TYPES to accept multiple images and modified the corresponding processing methods.
- Introduced a new format_filename method to handle dynamic filename generation using metadata patterns.
- Replaced save_workflow_json with embed_workflow for better clarity in saving workflow metadata.
- Improved directory handling and filename generation logic to ensure proper file saving.
2025-04-02 15:08:36 +08:00
Will Miao
b508f51fcf
checkpoint
2025-04-02 14:13:53 +08:00
Will Miao
6e3b4178ac
Enhance LoraStacker to return active LoRAs in stack_loras method
...
- Updated RETURN_TYPES and RETURN_NAMES to include active LoRAs.
- Introduced active_loras list to track active LoRAs and their strengths.
- Formatted active_loras for return as a string in the format <lora:lora_name:strength>.
2025-03-27 16:10:50 +08:00
Will Miao
0459710c9b
Made CLIP input optional in LoRA Loader, enabling compatibility with Hunyuan workflows
2025-03-26 21:50:26 +08:00
Will Miao
e7dffbbb1e
Refactor LoRA handling in LoraLoader, LoraStacker, and TriggerWordToggle
...
- Introduced logging to track unexpected formats in LoRA and trigger word data.
- Refactored LoRA processing to support both old and new kwargs formats in LoraLoader and LoraStacker.
- Enhanced trigger word processing to handle different data formats in TriggerWordToggle.
- Improved code readability and maintainability by extracting common logic into helper methods.
2025-03-22 15:56:37 +08:00
Will Miao
8a28846bac
Merge branch 'main' into dev
2025-03-19 17:34:29 +08:00
Will Miao
7c56825f9b
Enhance import functionality for recipes with image upload and URL support
...
- Added support for importing recipes via image upload or URL input in the ImportManager.
- Implemented toggle functionality to switch between upload and URL modes, updating the UI accordingly.
- Enhanced error handling for missing fields and invalid URLs during the import process.
- Updated the RecipeRoutes to analyze images from both uploaded files and URLs, returning appropriate metadata.
- Improved the import modal UI to accommodate new input methods and provide clearer user feedback.
2025-03-19 05:13:44 +08:00
Will Miao
756ad399bf
Enhance LoraManagerLoader to include formatted loaded_loras in return values, improving data output for loaded LoRAs.
2025-03-15 10:45:32 +08:00
Will Miao
02adced7b8
Fix path formatting in LoraStacker to ensure compatibility across different operating systems by replacing '/' with os.sep.
2025-03-15 10:45:16 +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
6f49a73f9c
Enhance README with v0.7.36 release notes and update utils.py with credit attribution
2025-03-11 22:00:46 +08:00
Will Miao
a2c51f4779
Fix trigger word toggle node
2025-03-11 22:00:25 +08:00
Will Miao
79ebe25bc2
Add lora stacker support and fix TriggerWord Toggle node
2025-03-11 20:46:40 +08:00
Will Miao
ad56cafd62
checkpoint
2025-03-11 19:29:31 +08:00
Will Miao
f48b954fb7
Add group mode for TriggerWord Toggle
2025-03-11 11:12:37 +08:00
Will Miao
c48da5300e
Make trigger_words input optional for TriggerWord Toggle node. This will fix https://github.com/willmiao/ComfyUI-Lora-Manager/issues/31
2025-03-10 20:19:01 +08:00
Will Miao
988d298008
Fix serialize issue caused by comfy by a workaround of adding dummy items
2025-03-02 17:09:01 +08:00