Tirkaru commited on
Commit
932540a
·
verified ·
1 Parent(s): 8343a98

Upload scripts/download_models.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. scripts/download_models.py +3 -4
scripts/download_models.py CHANGED
@@ -19,10 +19,9 @@ if VARIANT in ("nvfp4", "both"):
19
  if VARIANT in ("fp8", "both"):
20
  JOBS.append(("Comfy-Org/Krea-2", "diffusion_models/krea2_turbo_fp8_scaled.safetensors", f"{M}/diffusion_models"))
21
 
22
- JOBS += [
23
- (LORA_REPO, "lora/ilore_style_krea2_1000.safetensors", f"{M}/loras"),
24
- (LORA_REPO, "lora/ilore_style_krea2_1250.safetensors", f"{M}/loras"),
25
- ]
26
 
27
  def grab(repo, path, dest):
28
  os.makedirs(dest, exist_ok=True)
 
19
  if VARIANT in ("fp8", "both"):
20
  JOBS.append(("Comfy-Org/Krea-2", "diffusion_models/krea2_turbo_fp8_scaled.safetensors", f"{M}/diffusion_models"))
21
 
22
+ # LoRA kommt NICHT von HF - es wird direkt auf die Instanz geschoben,
23
+ # damit nie ein Account-Token auf der Mietmaschine liegt.
24
+ os.makedirs(f"{M}/loras", exist_ok=True)
 
25
 
26
  def grab(repo, path, dest):
27
  os.makedirs(dest, exist_ok=True)