Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files- requirements.txt +1 -1
- utils/app_utils.py +5 -3
- yaml/file_list.yaml +2 -2
- yaml/model_list.yaml +1 -1
requirements.txt
CHANGED
|
@@ -22,7 +22,7 @@ alembic
|
|
| 22 |
SQLAlchemy>=2.0.0
|
| 23 |
filelock
|
| 24 |
av>=16.0.0
|
| 25 |
-
comfy-kitchen==0.2.
|
| 26 |
comfy-aimdo==0.4.10
|
| 27 |
requests
|
| 28 |
simpleeval>=1.0.0
|
|
|
|
| 22 |
SQLAlchemy>=2.0.0
|
| 23 |
filelock
|
| 24 |
av>=16.0.0
|
| 25 |
+
comfy-kitchen==0.2.14
|
| 26 |
comfy-aimdo==0.4.10
|
| 27 |
requests
|
| 28 |
simpleeval>=1.0.0
|
utils/app_utils.py
CHANGED
|
@@ -184,7 +184,8 @@ def get_lora_path(source: str, id_or_url: str, civitai_key: str, progress) -> tu
|
|
| 184 |
return None, "Invalid Hugging Face path. Format: repo_owner/repo_name/filename"
|
| 185 |
repo_id = f"{parts[0]}/{parts[1]}"
|
| 186 |
repo_file_path = "/".join(parts[2:])
|
| 187 |
-
|
|
|
|
| 188 |
local_path = os.path.join(LORA_DIR, filename)
|
| 189 |
source_name = f"HF {repo_file_path}"
|
| 190 |
else:
|
|
@@ -297,8 +298,9 @@ def get_vae_path(source: str, id_or_url: str, civitai_key: str, progress) -> tup
|
|
| 297 |
if len(parts) < 3:
|
| 298 |
return None, "Invalid Hugging Face path. Format: repo_owner/repo_name/filename"
|
| 299 |
repo_id = f"{parts[0]}/{parts[1]}"
|
| 300 |
-
repo_file_path = "/".join(parts[2:])
|
| 301 |
-
|
|
|
|
| 302 |
local_path = os.path.join(VAE_DIR, filename)
|
| 303 |
source_name = f"VAE HF {repo_file_path}"
|
| 304 |
else:
|
|
|
|
| 184 |
return None, "Invalid Hugging Face path. Format: repo_owner/repo_name/filename"
|
| 185 |
repo_id = f"{parts[0]}/{parts[1]}"
|
| 186 |
repo_file_path = "/".join(parts[2:])
|
| 187 |
+
unique_name = id_or_url.strip().replace('/', '_')
|
| 188 |
+
filename = sanitize_filename(unique_name)
|
| 189 |
local_path = os.path.join(LORA_DIR, filename)
|
| 190 |
source_name = f"HF {repo_file_path}"
|
| 191 |
else:
|
|
|
|
| 298 |
if len(parts) < 3:
|
| 299 |
return None, "Invalid Hugging Face path. Format: repo_owner/repo_name/filename"
|
| 300 |
repo_id = f"{parts[0]}/{parts[1]}"
|
| 301 |
+
repo_file_path = "/".join(parts[2:])
|
| 302 |
+
unique_name = id_or_url.strip().replace('/', '_')
|
| 303 |
+
filename = sanitize_filename(unique_name)
|
| 304 |
local_path = os.path.join(VAE_DIR, filename)
|
| 305 |
source_name = f"VAE HF {repo_file_path}"
|
| 306 |
else:
|
yaml/file_list.yaml
CHANGED
|
@@ -417,10 +417,10 @@ file:
|
|
| 417 |
source: "hf"
|
| 418 |
repo_id: "Comfy-Org/Boogu-Image"
|
| 419 |
repository_file_path: "diffusion_models/boogu_image_base_nvfp4.safetensors"
|
| 420 |
-
- filename: "
|
| 421 |
source: "hf"
|
| 422 |
repo_id: "Comfy-Org/Boogu-Image"
|
| 423 |
-
repository_file_path: "diffusion_models/
|
| 424 |
# Ideogram-4
|
| 425 |
- filename: "ideogram4_nvfp4_mixed.safetensors"
|
| 426 |
source: "hf"
|
|
|
|
| 417 |
source: "hf"
|
| 418 |
repo_id: "Comfy-Org/Boogu-Image"
|
| 419 |
repository_file_path: "diffusion_models/boogu_image_base_nvfp4.safetensors"
|
| 420 |
+
- filename: "boogu_image_turbo_hotfix_nvfp4.safetensors"
|
| 421 |
source: "hf"
|
| 422 |
repo_id: "Comfy-Org/Boogu-Image"
|
| 423 |
+
repository_file_path: "diffusion_models/boogu_image_turbo_hotfix_nvfp4.safetensors"
|
| 424 |
# Ideogram-4
|
| 425 |
- filename: "ideogram4_nvfp4_mixed.safetensors"
|
| 426 |
source: "hf"
|
yaml/model_list.yaml
CHANGED
|
@@ -17,7 +17,7 @@ Checkpoint:
|
|
| 17 |
models:
|
| 18 |
- display_name: "Boogu-Image-Turbo"
|
| 19 |
components:
|
| 20 |
-
unet: "
|
| 21 |
clip: "qwen3vl_8b_nvfp4.safetensors"
|
| 22 |
vae: "ae.safetensors"
|
| 23 |
- display_name: "Boogu-Image-Base"
|
|
|
|
| 17 |
models:
|
| 18 |
- display_name: "Boogu-Image-Turbo"
|
| 19 |
components:
|
| 20 |
+
unet: "boogu_image_turbo_hotfix_nvfp4.safetensors"
|
| 21 |
clip: "qwen3vl_8b_nvfp4.safetensors"
|
| 22 |
vae: "ae.safetensors"
|
| 23 |
- display_name: "Boogu-Image-Base"
|