Fix Install

This commit is contained in:
LucipherDev
2025-01-09 21:36:37 +05:30
parent 03f4d2b17c
commit 149f5294fd
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -4,14 +4,17 @@ import logging
import subprocess
import traceback
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
EXT_PATH = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, EXT_PATH)
log = logging.getLogger("AniDoc")
download_models = True
try:
folder_paths_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'folder_paths.py'))
folder_paths_path = os.path.abspath(os.path.join(os.path.dirname(EXT_PATH), "..", "..", "folder_paths.py"))
sys.path.append(os.path.dirname(folder_paths_path))
import folder_paths
@@ -25,8 +28,6 @@ try:
except:
download_models = False
EXT_PATH = os.path.dirname(os.path.abspath(__file__))
COTRACKER = os.path.join(EXT_PATH, "cotracker")
try:
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-anidoc"
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."
version = "1.0.2"
version = "1.0.3"
license = {file = "LICENSE"}
dependencies = ["diffusers", "huggingface_hub", "Pillow", "accelerate", "omegaconf", "opencv-python", "einops", "kornia", "git+https://github.com/XPixelGroup/BasicSR.git"]