Spaces:
Running
on
Zero
Running
on
Zero
Upload dc.py
Browse files
dc.py
CHANGED
@@ -1069,7 +1069,7 @@ def download_lora(dl_urls: str):
|
|
1069 |
for url in [url.strip() for url in dl_urls.split(',')]:
|
1070 |
local_path = f"{directory_loras}/{url.split('/')[-1]}"
|
1071 |
if not Path(local_path).exists():
|
1072 |
-
download_things(directory_loras, url,
|
1073 |
urls.append(url)
|
1074 |
after = get_local_model_list(directory_loras)
|
1075 |
new_files = list_sub(after, before)
|
|
|
1069 |
for url in [url.strip() for url in dl_urls.split(',')]:
|
1070 |
local_path = f"{directory_loras}/{url.split('/')[-1]}"
|
1071 |
if not Path(local_path).exists():
|
1072 |
+
download_things(directory_loras, url, HF_TOKEN, CIVITAI_API_KEY)
|
1073 |
urls.append(url)
|
1074 |
after = get_local_model_list(directory_loras)
|
1075 |
new_files = list_sub(after, before)
|