caohy666 commited on
Commit
399a4ec
·
1 Parent(s): b187df6

<fix> remove resume_download

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -172,8 +172,7 @@ def process_image_and_text(condition_image, target_prompt, condition_image_promp
172
  # load LoRA weights
173
  model_root = hf_hub_download(
174
  repo_id="Kunbyte/DRA-Ctrl",
175
- filename=f"{task}.safetensors",
176
- resume_download=True)
177
 
178
  try:
179
  with safe_open(model_root, framework="pt") as f:
 
172
  # load LoRA weights
173
  model_root = hf_hub_download(
174
  repo_id="Kunbyte/DRA-Ctrl",
175
+ filename=f"{task}.safetensors")
 
176
 
177
  try:
178
  with safe_open(model_root, framework="pt") as f: