Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files
convert_url_to_diffusers_sdxl.py
CHANGED
@@ -194,7 +194,7 @@ tags:
|
|
194 |
|
195 |
|
196 |
def fuse_loras(pipe, civitai_key="", lora_dict={}, temp_dir="."):
|
197 |
-
if not lora_dict or not isinstance(lora_dict, dict): return
|
198 |
a_list = []
|
199 |
w_list = []
|
200 |
for k, v in lora_dict.items():
|
|
|
194 |
|
195 |
|
196 |
def fuse_loras(pipe, civitai_key="", lora_dict={}, temp_dir="."):
|
197 |
+
if not lora_dict or not isinstance(lora_dict, dict) or not lora_dict.keys(): return
|
198 |
a_list = []
|
199 |
w_list = []
|
200 |
for k, v in lora_dict.items():
|
convert_url_to_diffusers_sdxl_gr.py
CHANGED
@@ -195,7 +195,7 @@ tags:
|
|
195 |
|
196 |
|
197 |
def fuse_loras(pipe, lora_dict={}, temp_dir=".", civitai_key=""):
|
198 |
-
if not lora_dict or not isinstance(lora_dict, dict): return
|
199 |
a_list = []
|
200 |
w_list = []
|
201 |
for k, v in lora_dict.items():
|
|
|
195 |
|
196 |
|
197 |
def fuse_loras(pipe, lora_dict={}, temp_dir=".", civitai_key=""):
|
198 |
+
if not lora_dict or not isinstance(lora_dict, dict) or not lora_dict.keys(): return
|
199 |
a_list = []
|
200 |
w_list = []
|
201 |
for k, v in lora_dict.items():
|
local/convert_url_to_diffusers_sdxl.py
CHANGED
@@ -194,7 +194,7 @@ tags:
|
|
194 |
|
195 |
|
196 |
def fuse_loras(pipe, civitai_key="", lora_dict={}, temp_dir="."):
|
197 |
-
if not lora_dict or not isinstance(lora_dict, dict): return
|
198 |
a_list = []
|
199 |
w_list = []
|
200 |
for k, v in lora_dict.items():
|
|
|
194 |
|
195 |
|
196 |
def fuse_loras(pipe, civitai_key="", lora_dict={}, temp_dir="."):
|
197 |
+
if not lora_dict or not isinstance(lora_dict, dict) or not lora_dict.keys(): return
|
198 |
a_list = []
|
199 |
w_list = []
|
200 |
for k, v in lora_dict.items():
|