Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug in the process of exporting layerdiffusion #13

Closed
marvin521 opened this issue Mar 4, 2024 · 1 comment
Closed

A bug in the process of exporting layerdiffusion #13

marvin521 opened this issue Mar 4, 2024 · 1 comment

Comments

@marvin521
Copy link

File "/xxx/ComfyUI/custom_nodes/ComfyUI-layerdiffusion/lib_layerdiffusion/utils.py", line 97, in
file_name: str | None = None,
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Cannot import /xxx/ComfyUI/custom_nodes/ComfyUI-layerdiffusion module for custom nodes: unsupported operand type(s) for |: 'type' and 'NoneType'

Import times for custom nodes:
0.0 seconds (IMPORT FAILED): /xxx/ComfyUI/custom_nodes/ComfyUI-layerdiffusion

@huchenlei
Copy link
Owner

This is cased by Python version. "|" operand on type is added in python 3.10.

I have changed the type annotation to backward compatible one.

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

No branches or pull requests

2 participants