Jacob Segal
f7dd560777
Default to sampling entire image
...
By default, when applying a mask to a condition, the entire image will
still be used for sampling. The new "set_area_to_bounds" option on the
node will allow the user to automatically limit conditioning to the
bounds of the mask.
I've also removed the dependency on torchvision for calculating bounding
boxes. I've taken the opportunity to fix some frustrating details in the
other version:
1. An all-0 mask will no longer cause an error
2. Indices are returned as integers instead of floats so they can be
used to index into tensors.
2023-04-29 00:16:58 -07:00
Jacob Segal
6bfd8b6b1a
Add Condition by Mask node
...
This PR adds support for a Condition by Mask node. This node allows
conditioning to be limited to a non-rectangle area.
2023-04-27 20:03:27 -07:00
comfyanonymous
256bd8e671
Make notebook work on python3.7
2023-04-27 10:59:47 -04:00
comfyanonymous
a9e0b4177d
Add callback to sampler function.
...
Callback format is: callback(step, x0, x)
2023-04-27 04:38:44 -04:00
comfyanonymous
26380e84df
If IS_CHANGED returns exception delete the output instead of crashing.
2023-04-26 02:13:56 -04:00
comfyanonymous
aa8889aa60
Don't keep cached outputs for removed nodes.
2023-04-26 02:05:57 -04:00
Jake D
281ddc671e
Colored MultilineWidget ( #524 )
...
* fixes colors and z-index
* light mode fix
* Update widgets.js
2023-04-26 01:22:36 -04:00
comfyanonymous
7fe2ed0b50
Update litegraph from upstream.
2023-04-25 19:18:50 -04:00
comfyanonymous
00e088bbe7
Python 3.7 support.
2023-04-25 14:02:17 -04:00
comfyanonymous
d95ef10342
Some fixes to the batch masks PR.
2023-04-25 01:12:40 -04:00
comfyanonymous
434fdea402
Merge branch 'multiple_inpaint_masks' of https://github.com/guill/ComfyUI
...
# Conflicts:
# nodes.py
2023-04-25 00:54:15 -04:00
comfyanonymous
288c72fe9f
Refactor more code to sample.py
2023-04-24 23:25:51 -04:00
comfyanonymous
112d4ab7d7
This is cleaner this way.
2023-04-24 22:45:35 -04:00
comfyanonymous
eaf858df78
Auto increase the size of the image upload widget when there's an image.
2023-04-24 18:13:18 -04:00
comfyanonymous
3672f1eeca
Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI
2023-04-24 17:57:27 -04:00
BlenderNeko
d556513e2a
gligen tuple
2023-04-24 21:47:57 +02:00
BlenderNeko
7db702ecd0
made sample functions more explicit
2023-04-24 12:53:10 +02:00
comfyanonymous
df8cc5d9e3
Add hypernetwork example link to readme.
...
Move hypernetwork loader node to loaders.
2023-04-24 03:08:51 -04:00
comfyanonymous
5366170a23
Support all known hypernetworks.
2023-04-24 02:36:06 -04:00
comfyanonymous
0d9fdae74b
Add hypernetworks path config to extra_model_paths.yaml.example
2023-04-24 01:50:56 -04:00
comfyanonymous
0c0b4c41f7
Don't delete all outputs when execution gets interrupted.
2023-04-23 22:44:38 -04:00
comfyanonymous
04da98df66
Add a way for nodes to validate their own inputs.
2023-04-23 16:03:26 -04:00
ltdrdata
73ff5c5278
Add clipspace feature. ( #541 )
...
* Add clipspace feature.
* feat: copy content to clipspace
* feat: paste content from clipspace
Extend validation to allow for validating annotated_path in addition to other parameters.
Add support for annotated_filepath in folder_paths function.
Generalize the '/upload/image' API to allow for uploading images to the 'input', 'temp', or 'output' directories.
* rename contentClipboard -> clipspace
* Do deep copy for imgs on copy to clipspace.
* add original_imgs into clipspace
* Preserve the original image when 'imgs' are modified
* robust patch & refactoring folder_paths about annotated_filepath
* Only show the Paste menu if the ComfyApp.clipspace is not empty
* instant refresh on paste
force triggering 'changed' on paste action
* subfolder fix on paste logic
attach subfolder if subfolder isn't empty
---------
Co-authored-by: Lt.Dr.Data <lt.dr.data@gmail.com>
2023-04-23 15:58:55 -04:00
BlenderNeko
ac6686d523
add docstrings
2023-04-23 20:09:09 +02:00
BlenderNeko
1e9a5097e1
Merge branch 'master' of https://github.com/BlenderNeko/ComfyUI
2023-04-23 20:02:18 +02:00
BlenderNeko
3e6b963e46
refactor/split various bits of code for sampling
2023-04-23 20:02:08 +02:00
comfyanonymous
7eb951cbd7
Merge branch 'change-session-store' of https://github.com/pythongosssss/ComfyUI
2023-04-23 12:56:12 -04:00
comfyanonymous
e6771d0986
Implement Linear hypernetworks.
...
Add a HypernetworkLoader node to use hypernetworks.
2023-04-23 12:35:25 -04:00
pythongosssss
7ffe40e3c2
use window.name instead of session storage
...
- prevents duplicate stealing session id
2023-04-23 10:31:21 +01:00
Jacob Segal
91bebda537
Add support for multiple unique inpainting masks
...
This enables workflows like "Inpaint at full resolution" when using
batch sizes greater than 1.
2023-04-22 16:02:26 -07:00
comfyanonymous
0d66023475
This makes pytorch2.0 attention perform a bit faster.
2023-04-22 14:30:39 -04:00
comfyanonymous
eb7a0faa30
Cleanup.
2023-04-21 23:43:38 -04:00
comfyanonymous
ce8dacc0de
Merge branch 'slotDefaults-dynamic' of https://github.com/omar92/ComfyUI
2023-04-21 23:39:55 -04:00
missionfloyd
726927e17b
Remove brackets if weight == 1
2023-04-20 23:55:20 -06:00
comfyanonymous
520b2ea295
Merge branch 'currentword-select' of https://github.com/missionfloyd/ComfyUI
2023-04-21 00:01:09 -04:00
comfyanonymous
ed4d73d4fd
Remove some useless code.
2023-04-20 23:58:25 -04:00
missionfloyd
a900b94df2
Improve current word selection
2023-04-20 18:23:51 -06:00
comfyanonymous
fca9adbee2
Add GLIGEN example to README.
2023-04-20 17:30:10 -04:00
omar92
704383c26d
add option on the settings to change the number of the suggestions
2023-04-20 21:13:14 +02:00
omar92
c232d693da
when drag from node input or output show all possible nodes that you can connect
2023-04-20 06:19:56 +02:00
omar92
c98bf9058d
Merge branch 'master_old'
2023-04-20 06:18:52 +02:00
comfyanonymous
a86c06e8da
Don't pass adm to model when it doesn't support it.
2023-04-19 21:11:38 -04:00
comfyanonymous
bdab601d1f
Add gligen entry to extra_model_paths example.
2023-04-19 11:47:49 -04:00
comfyanonymous
37c736b956
Add GLIGEN model link to colab.
2023-04-19 11:30:18 -04:00
comfyanonymous
6c156642e4
Add support for GLIGEN textbox model.
2023-04-19 11:06:32 -04:00
comfyanonymous
43975b9dc5
Add a github action to use pip xformers package for dependencies.
2023-04-18 19:34:07 -04:00
comfyanonymous
7085f624c7
Saner range of values.
2023-04-18 02:25:57 -04:00
missionfloyd
c15e61ffc9
Editattention setting ( #533 )
...
* Add editAttention delta setting
* Update editAttention.js
* Update web/extensions/core/editAttention.js
Co-authored-by: Karun <karun.ellango7@gmail.com>
* Update editAttention.js
* Update editAttention.js
* Fix setting value
---------
Co-authored-by: Karun <karun.ellango7@gmail.com>
2023-04-18 02:22:05 -04:00
comfyanonymous
d492b289d4
Merge branch 'edit-attention-fix' of https://github.com/EllangoK/ComfyUI
2023-04-17 23:57:20 -04:00
EllangoK
0d3b0553ae
correctly checks end of the text
2023-04-17 23:40:44 -04:00