- 03 Jul, 2024 4 commits
-
-
Chenlei Hu authored
-
comfyanonymous authored
-
comfyanonymous authored
-
Alex "mcmonkey" Goodwin authored
-
- 02 Jul, 2024 3 commits
-
-
comfyanonymous authored
-
comfyanonymous authored
-
shawnington authored
* Fix to #3465. Prevent the, resaving of duplicate images if overwrite not specified This is a fix to #3465 Adds function compare_image_hash to do a sha256 hash comparison between an uploaded image and existing images with matching file names. This changes the behavior so that only images having the same filename that are actually different are saved to input, existing images are instead now opened instead of resaved with increment. Currently, exact duplicates with the same filename are resave saved with an incremented filename in the format: <filename> (n).ext with the code: ``` while os.path.exists(filepath): filename = f"{split[0]} ({i}){split[1]}" filepath = os.path.join(full_output_folder, filename) i += 1 ``` This commit changes this to: ``` while os.path.exists(filepath): if compare_image_hash(filepath, image): image_is_duplicate = True break filename = f"{split[0]} ({i}){split[1]}" filepath = os.path.join(full_output_folder, filename) i += 1 ``` a check for if image_is_duplicate = False is done before saving the file. Currently, if you load the same image of a cat named cat.jpg into the LoadImage node 3 times, you will get 3 new files in your input folder with incremented file names. With this change, you will now only have the single copy of cat.jpg, that will be re-opened instead of re-saved. However if you load 3 different images of cats named cat.jpg, you will get the expected behavior of having: cat.jpg cat (1).jpg cat (2).jpg This saves space and clutter. After checking my own input folder, I have 800+ images that are duplicates that were resaved with incremented file names amounting to more than 5GB of duplicated data. * fixed typo in expression
-
- 01 Jul, 2024 9 commits
-
-
Bob Du authored
-
Chenlei Hu authored
* Add --no-custom-node cmd flag * nit
-
Peter Crabtree authored
(for eta and s_noise)
-
Hayden Reeve authored
This change includes corrections for several spelling errors in the documentation of example_node.py.example file. These were previously raised by #3157, but they missed a few.
-
comfyanonymous authored
-
YAN Wenkun authored
* Bumping GitHub Actions versions * Using LZMA2 for 7zip compression in Windows packaging
-
Robin Huang authored
* Create CONTRIBUTING.md * Add feature-request channel link. * Remove discord links for channels.
-
ruucm authored
-
Chenlei Hu authored
-
- 30 Jun, 2024 2 commits
-
-
comfyanonymous authored
-
comfyanonymous authored
-
- 29 Jun, 2024 2 commits
-
-
comfyanonymous authored
The old _pp ones will be updated automatically to the regular ones with 2x the cfg. My fault for not checking what the "_pp" samplers actually did.
-
comfyanonymous authored
-
- 28 Jun, 2024 4 commits
-
-
Robin Huang authored
This reverts commit 449bf529.
-
Robin Huang authored
This reverts commit 97b409cd.
-
comfyanonymous authored
-
pythongosssss authored
* Fix auto queue * Detect added nodes via search * Fix loading workflows * Add button click style
-
- 27 Jun, 2024 11 commits
-
-
comfyanonymous authored
-
comfyanonymous authored
Still missing the node to properly use it.
-
comfyanonymous authored
-
Robin Huang authored
-
Robin Huang authored
* Add linux integration test. * Fix directory path. * Add paths ignore. * Fix conda env directory path.
-
comfyanonymous authored
-
Chenlei Hu authored
-
comfyanonymous authored
-
comfyanonymous authored
-
Chenlei Hu authored
* Add audio widget * Fix audio bugs * Add CSS * Populate audio widget when load history
-
comfyanonymous authored
Order 4 seems to give bad results.
-
- 26 Jun, 2024 5 commits
-
-
Chenlei Hu authored
-
Chenlei Hu authored
-
Chenlei Hu authored
* Update ref * Disable some tests
-
Chenlei Hu authored
-
pythongosssss authored
-