Spaces:
Running
on
Zero
Running
on
Zero
Update utils.py
Browse files
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)
|