Skip to content

Update layers.py#78

Open
miso1391 wants to merge 1 commit into
ChenDarYen:mainfrom
miso1391:main
Open

Update layers.py#78
miso1391 wants to merge 1 commit into
ChenDarYen:mainfrom
miso1391:main

Conversation

@miso1391
Copy link
Copy Markdown

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant