LWZ19 commited on
Commit
2a414d5
·
verified ·
1 Parent(s): 68aa62d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,7 +60,7 @@ for ratio in PRUNING_RATIOS:
60
  try:
61
  print(f"Loading {ratio}% pruned model...")
62
  model_file = hf_hub_download(
63
- repo_id="LWZ19/flux_prune",
64
  filename=f"dev/pruned_model_{ratio}.pkl"
65
  )
66
 
@@ -79,7 +79,7 @@ print("📥 Preloading all LoRA weights...")
79
  for ratio in PRUNING_RATIOS:
80
  try:
81
  lora_repo_path = snapshot_download(
82
- repo_id="LWZ19/flux_retrain_weights",
83
  allow_patterns=[f"dev/lora/prune_{ratio}/*"]
84
  )
85
  lora_weights = load_file(os.path.join(lora_repo_path, "dev", "lora", f"prune_{ratio}", LORA_WEIGHT_NAME_SAFE))
 
60
  try:
61
  print(f"Loading {ratio}% pruned model...")
62
  model_file = hf_hub_download(
63
+ repo_id="LWZ19/ecodiff_flux_prune",
64
  filename=f"dev/pruned_model_{ratio}.pkl"
65
  )
66
 
 
79
  for ratio in PRUNING_RATIOS:
80
  try:
81
  lora_repo_path = snapshot_download(
82
+ repo_id="LWZ19/ecodiff_flux_retrain_weights",
83
  allow_patterns=[f"dev/lora/prune_{ratio}/*"]
84
  )
85
  lora_weights = load_file(os.path.join(lora_repo_path, "dev", "lora", f"prune_{ratio}", LORA_WEIGHT_NAME_SAFE))