Spaces:
Running
on
Zero
Running
on
Zero
<fix> remove resume_download
Browse files
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:
|