Upload folder using huggingface_hub
Browse files- README.md +0 -1
- comfy_integration/setup.py +4 -29
- yaml/file_list.yaml +14 -4
- yaml/model_list.yaml +0 -5
README.md
CHANGED
|
@@ -18,7 +18,6 @@ models:
|
|
| 18 |
- black-forest-labs/FLUX.2-klein-base-4b-fp8
|
| 19 |
- black-forest-labs/FLUX.2-klein-base-9b-fp8
|
| 20 |
- bluepen5805/4nima_pencil-XL
|
| 21 |
-
- bluepen5805/anima-models
|
| 22 |
- bluepen5805/anima_pencil-XL
|
| 23 |
- bluepen5805/blue_pencil-XL
|
| 24 |
- bluepen5805/illustrious_pencil-XL
|
|
|
|
| 18 |
- black-forest-labs/FLUX.2-klein-base-4b-fp8
|
| 19 |
- black-forest-labs/FLUX.2-klein-base-9b-fp8
|
| 20 |
- bluepen5805/4nima_pencil-XL
|
|
|
|
| 21 |
- bluepen5805/anima_pencil-XL
|
| 22 |
- bluepen5805/blue_pencil-XL
|
| 23 |
- bluepen5805/illustrious_pencil-XL
|
comfy_integration/setup.py
CHANGED
|
@@ -6,13 +6,11 @@ from core.settings import *
|
|
| 6 |
|
| 7 |
def move_and_overwrite(src, dst):
|
| 8 |
if os.path.isdir(src):
|
| 9 |
-
os.
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
d = os.path.join(dst, item)
|
| 13 |
-
move_and_overwrite(s, d)
|
| 14 |
elif os.path.isfile(src):
|
| 15 |
-
if os.path.exists(dst)
|
| 16 |
os.remove(dst)
|
| 17 |
shutil.move(src, dst)
|
| 18 |
|
|
@@ -91,29 +89,6 @@ def initialize_comfyui():
|
|
| 91 |
|
| 92 |
print("✅ ComfyUI initialized with default attention mechanism.")
|
| 93 |
|
| 94 |
-
def create_model_symlink(volume_path, target_path):
|
| 95 |
-
if os.path.exists(volume_path):
|
| 96 |
-
os.makedirs(os.path.dirname(target_path), exist_ok=True)
|
| 97 |
-
|
| 98 |
-
if os.path.exists(target_path) or os.path.islink(target_path):
|
| 99 |
-
if os.path.islink(target_path):
|
| 100 |
-
os.remove(target_path)
|
| 101 |
-
elif os.path.isdir(target_path):
|
| 102 |
-
shutil.rmtree(target_path)
|
| 103 |
-
else:
|
| 104 |
-
os.remove(target_path)
|
| 105 |
-
|
| 106 |
-
try:
|
| 107 |
-
os.symlink(volume_path, target_path)
|
| 108 |
-
print(f"✅ Created symlink from {volume_path} to {target_path}")
|
| 109 |
-
except Exception as e:
|
| 110 |
-
print(f"❌ Failed to create symlink: {e}")
|
| 111 |
-
else:
|
| 112 |
-
print(f"⚠️ Warning: Volume mount path '{volume_path}' not found.")
|
| 113 |
-
|
| 114 |
-
create_model_symlink("/home/user/volume/text_encoders", os.path.join(APP_DIR, "models", "text_encoders"))
|
| 115 |
-
create_model_symlink("/home/user/volume/diffusion_models", os.path.join(APP_DIR, "models", "diffusion_models"))
|
| 116 |
-
|
| 117 |
for dir_path in CATEGORY_TO_DIR_MAP.values():
|
| 118 |
os.makedirs(os.path.join(APP_DIR, dir_path), exist_ok=True)
|
| 119 |
|
|
|
|
| 6 |
|
| 7 |
def move_and_overwrite(src, dst):
|
| 8 |
if os.path.isdir(src):
|
| 9 |
+
if os.path.exists(dst):
|
| 10 |
+
shutil.rmtree(dst)
|
| 11 |
+
shutil.move(src, dst)
|
|
|
|
|
|
|
| 12 |
elif os.path.isfile(src):
|
| 13 |
+
if os.path.exists(dst):
|
| 14 |
os.remove(dst)
|
| 15 |
shutil.move(src, dst)
|
| 16 |
|
|
|
|
| 89 |
|
| 90 |
print("✅ ComfyUI initialized with default attention mechanism.")
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
for dir_path in CATEGORY_TO_DIR_MAP.values():
|
| 93 |
os.makedirs(os.path.join(APP_DIR, dir_path), exist_ok=True)
|
| 94 |
|
yaml/file_list.yaml
CHANGED
|
@@ -403,6 +403,16 @@ file:
|
|
| 403 |
repo_id: "comfyanonymous/ControlNet-v1-1_fp16_safetensors"
|
| 404 |
repository_file_path: "control_v11u_sd15_tile_fp16.safetensors"
|
| 405 |
diffusion_models:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 406 |
# Anima
|
| 407 |
- filename: "waiANIMA_v10.safetensors"
|
| 408 |
source: "hf"
|
|
@@ -416,10 +426,6 @@ file:
|
|
| 416 |
source: "hf"
|
| 417 |
repo_id: "duongve/AnimaYume"
|
| 418 |
repository_file_path: "split_files/diffusion_models/AnimaYume_tuned_v04.safetensors"
|
| 419 |
-
- filename: "anima_pencil-v1.0.safetensors"
|
| 420 |
-
source: "hf"
|
| 421 |
-
repo_id: "bluepen5805/anima-models"
|
| 422 |
-
repository_file_path: "anima_pencil-v1.0.safetensors"
|
| 423 |
# NewBie-Image
|
| 424 |
- filename: "NewBie-Image-Exp0.1-bf16.safetensors"
|
| 425 |
source: "hf"
|
|
@@ -530,6 +536,10 @@ file:
|
|
| 530 |
source: "hf"
|
| 531 |
repo_id: "Comfy-Org/HunyuanImage_2.1_ComfyUI"
|
| 532 |
repository_file_path: "split_files/diffusion_models/hunyuanimage2.1_distilled_fp8_e4m3fn.safetensors"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 533 |
# Chroma1-Radiance
|
| 534 |
- filename: "Chroma1-Radiance-x0-fp8mixed_fullmm-20260104.safetensors"
|
| 535 |
source: "hf"
|
|
|
|
| 403 |
repo_id: "comfyanonymous/ControlNet-v1-1_fp16_safetensors"
|
| 404 |
repository_file_path: "control_v11u_sd15_tile_fp16.safetensors"
|
| 405 |
diffusion_models:
|
| 406 |
+
# FLUX.2-klein-9B
|
| 407 |
+
- filename: "flux-2-klein-9b-fp8.safetensors"
|
| 408 |
+
source: "hf"
|
| 409 |
+
repo_id: "black-forest-labs/FLUX.2-klein-9b-fp8"
|
| 410 |
+
repository_file_path: "flux-2-klein-9b-fp8.safetensors"
|
| 411 |
+
# FLUX.2-klein-base-9B
|
| 412 |
+
- filename: "flux-2-klein-base-9b-fp8.safetensors"
|
| 413 |
+
source: "hf"
|
| 414 |
+
repo_id: "black-forest-labs/FLUX.2-klein-base-9b-fp8"
|
| 415 |
+
repository_file_path: "flux-2-klein-base-9b-fp8.safetensors"
|
| 416 |
# Anima
|
| 417 |
- filename: "waiANIMA_v10.safetensors"
|
| 418 |
source: "hf"
|
|
|
|
| 426 |
source: "hf"
|
| 427 |
repo_id: "duongve/AnimaYume"
|
| 428 |
repository_file_path: "split_files/diffusion_models/AnimaYume_tuned_v04.safetensors"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
# NewBie-Image
|
| 430 |
- filename: "NewBie-Image-Exp0.1-bf16.safetensors"
|
| 431 |
source: "hf"
|
|
|
|
| 536 |
source: "hf"
|
| 537 |
repo_id: "Comfy-Org/HunyuanImage_2.1_ComfyUI"
|
| 538 |
repository_file_path: "split_files/diffusion_models/hunyuanimage2.1_distilled_fp8_e4m3fn.safetensors"
|
| 539 |
+
- filename: "hunyuanimage2.1_refiner_fp8_e4m3fn.safetensors"
|
| 540 |
+
source: "hf"
|
| 541 |
+
repo_id: "Comfy-Org/HunyuanImage_2.1_ComfyUI"
|
| 542 |
+
repository_file_path: "split_files/diffusion_models/hunyuanimage2.1_refiner_fp8_e4m3fn.safetensors"
|
| 543 |
# Chroma1-Radiance
|
| 544 |
- filename: "Chroma1-Radiance-x0-fp8mixed_fullmm-20260104.safetensors"
|
| 545 |
source: "hf"
|
yaml/model_list.yaml
CHANGED
|
@@ -97,11 +97,6 @@ Checkpoint:
|
|
| 97 |
unet: "AnimaYume_tuned_v04.safetensors"
|
| 98 |
vae: "qwen_image_vae.safetensors"
|
| 99 |
clip: "qwen_3_06b_base.safetensors"
|
| 100 |
-
- display_name: "bluepen5805/Anima-pencil-v1.0"
|
| 101 |
-
components:
|
| 102 |
-
unet: "anima_pencil-v1.0.safetensors"
|
| 103 |
-
vae: "qwen_image_vae.safetensors"
|
| 104 |
-
clip: "qwen_3_06b_base.safetensors"
|
| 105 |
- display_name: "circlestone-labs/Anima-base-v1.0"
|
| 106 |
components:
|
| 107 |
unet: "anima-base-v1.0.safetensors"
|
|
|
|
| 97 |
unet: "AnimaYume_tuned_v04.safetensors"
|
| 98 |
vae: "qwen_image_vae.safetensors"
|
| 99 |
clip: "qwen_3_06b_base.safetensors"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
- display_name: "circlestone-labs/Anima-base-v1.0"
|
| 101 |
components:
|
| 102 |
unet: "anima-base-v1.0.safetensors"
|