r3gm commited on
Commit
ed6199e
1 Parent(s): 4d027fa

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -240,6 +240,7 @@ def extract_parameters(input_string):
240
 
241
 
242
  def get_my_lora(link_url, romanize):
 
243
  for url in [url.strip() for url in link_url.split(',')]:
244
  if not os.path.exists(f"./loras/{url.split('/')[-1]}"):
245
  l_name = download_things(DIRECTORY_LORAS, url, HF_TOKEN, CIVITAI_API_KEY, romanize)
 
240
 
241
 
242
  def get_my_lora(link_url, romanize):
243
+ l_name = ""
244
  for url in [url.strip() for url in link_url.split(',')]:
245
  if not os.path.exists(f"./loras/{url.split('/')[-1]}"):
246
  l_name = download_things(DIRECTORY_LORAS, url, HF_TOKEN, CIVITAI_API_KEY, romanize)