Skip to content

Commit 149f529

Browse files
committed
Fix Install
1 parent 03f4d2b commit 149f529

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

install.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
import subprocess
55
import traceback
66

7-
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
7+
EXT_PATH = os.path.dirname(os.path.abspath(__file__))
8+
9+
sys.path.insert(0, EXT_PATH)
810

911
log = logging.getLogger("AniDoc")
1012

1113
download_models = True
1214

1315
try:
14-
folder_paths_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'folder_paths.py'))
16+
folder_paths_path = os.path.abspath(os.path.join(os.path.dirname(EXT_PATH), "..", "..", "folder_paths.py"))
17+
1518
sys.path.append(os.path.dirname(folder_paths_path))
1619

1720
import folder_paths
@@ -25,8 +28,6 @@
2528
except:
2629
download_models = False
2730

28-
EXT_PATH = os.path.dirname(os.path.abspath(__file__))
29-
3031
COTRACKER = os.path.join(EXT_PATH, "cotracker")
3132

3233
try:

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.2"
4+
version = "1.0.3"
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)