Update layers.py#78
Open
miso1391 wants to merge 1 commit into
Open
Conversation
this fix this error: Traceback (most recent call last): File ".\ComfyUI\nodes.py", line 2227, in load_custom_node module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 999, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File ".\ComfyUI\custom_nodes\ComfyUI-NAG\__init__.py", line 1, in <module> from .node import NODE_CLASS_MAPPINGS File ".\ComfyUI\custom_nodes\ComfyUI-NAG\node.py", line 6, in <module> from .samplers import NAGCFGGuider as samplers_NAGCFGGuider File ".\ComfyUI\custom_nodes\ComfyUI-NAG\samplers.py", line 38, in <module> from .chroma.model import NAGChromaSwitch File ".\ComfyUI\custom_nodes\ComfyUI-NAG\chroma\model.py", line 16, in <module> from .layers import NAGDoubleStreamBlock, NAGSingleStreamBlock File ".\ComfyUI\custom_nodes\ComfyUI-NAG\chroma\layers.py", line 10, in <module> class NAGDoubleStreamBlock(DoubleStreamBlock): TypeError: NoneType takes no arguments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this fix this error:
Traceback (most recent call last):
File ".\ComfyUI\nodes.py", line 2227, in load_custom_node module_spec.loader.exec_module(module)
File "", line 999, in exec_module File "", line 488, in call_with_frames_removed File ".\ComfyUI\custom_nodes\ComfyUI-NAG_init.py", line 1, in from .node import NODE_CLASS_MAPPINGS
File ".\ComfyUI\custom_nodes\ComfyUI-NAG\node.py", line 6, in from .samplers import NAGCFGGuider as samplers_NAGCFGGuider File ".\ComfyUI\custom_nodes\ComfyUI-NAG\samplers.py", line 38, in from .chroma.model import NAGChromaSwitch
File ".\ComfyUI\custom_nodes\ComfyUI-NAG\chroma\model.py", line 16, in from .layers import NAGDoubleStreamBlock, NAGSingleStreamBlock File ".\ComfyUI\custom_nodes\ComfyUI-NAG\chroma\layers.py", line 10, in class NAGDoubleStreamBlock(DoubleStreamBlock): TypeError: NoneType takes no arguments