John6666 commited on
Commit
27354c0
1 Parent(s): a448cee

Upload dc.py

Browse files
Files changed (1) hide show
  1. dc.py +1 -1
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, hf_token, CIVITAI_API_KEY)
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)