Download ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/__init__.py from Metaphysix2/RPComfy: direct link, hf CLI and curl.
- Browser
- Download file 502 Bytes
-
https://huggingface.co/Metaphysix2/RPComfy/resolve/main/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/__init__.py
- Command line
-
hf download hf://Metaphysix2/RPComfy/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Metaphysix2/RPComfy/resolve/main/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/__init__.py
502 Bytes
| import folder_paths | |
| from .animatediff.logger import logger | |
| from .animatediff.model_utils import get_available_motion_models, Folders | |
| from .animatediff.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS | |
| if len(get_available_motion_models()) == 0: | |
| logger.error(f"No motion models found. Please download one and place in: {folder_paths.get_folder_paths(Folders.ANIMATEDIFF_MODELS)}") | |
| WEB_DIRECTORY = "./web" | |
| __all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] | |