Skip to content

Commit 03f4d2b

Browse files
committed
Fix install
1 parent 556470f commit 03f4d2b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

install.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
download_models = True
1212

1313
try:
14+
folder_paths_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'folder_paths.py'))
15+
sys.path.append(os.path.dirname(folder_paths_path))
16+
1417
import folder_paths
18+
1519
DIFFUSERS_DIR = os.path.join(folder_paths.models_dir, "diffusers")
1620
ANIDOC_DIR = os.path.join(DIFFUSERS_DIR, "anidoc")
1721
SVD_I2V_DIR = os.path.join(
@@ -20,7 +24,6 @@
2024
)
2125
except:
2226
download_models = False
23-
log.info("Not called by ComfyUI Manager. Models will not be downloaded")
2427

2528
EXT_PATH = os.path.dirname(os.path.abspath(__file__))
2629

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-anidoc"
33
description = "ComfyUI Custom Nodes for 'AniDoc: Animation Creation Made Easier'. This approach automates line art video colorization using a novel model that aligns color information from references, ensures temporal consistency, and reduces manual effort in animation production."
4-
version = "1.0.1"
4+
version = "1.0.2"
55
license = {file = "LICENSE"}
66
dependencies = ["diffusers", "huggingface_hub", "Pillow", "accelerate", "omegaconf", "opencv-python", "einops", "kornia", "git+https://github.com/XPixelGroup/BasicSR.git"]
77

0 commit comments

Comments
 (0)