diff --git a/__init__.py b/__init__.py index 6692cab..41123cc 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,7 @@ -from .qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +try: + from .qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +except ImportError: + # Fallback for older python environments or specific structures + from qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] \ No newline at end of file