Spaces:
Paused
Paused
lllyasviel
commited on
Commit
·
715671d
1
Parent(s):
9905ad3
modules/default_pipeline.py
CHANGED
@@ -10,7 +10,7 @@ xl_refiner_filename = os.path.join(modelfile_path, 'sd_xl_refiner_1.0.safetensor
|
|
10 |
xl_base_offset_lora_filename = os.path.join(lorafile_path, 'sd_xl_offset_example-lora_1.0.safetensors')
|
11 |
|
12 |
xl_base = core.load_model(xl_base_filename)
|
13 |
-
xl_base = core.load_lora(xl_base, xl_base_offset_lora_filename, strength_model=0
|
14 |
|
15 |
xl_refiner = core.load_model(xl_refiner_filename)
|
16 |
del xl_base.vae
|
|
|
10 |
xl_base_offset_lora_filename = os.path.join(lorafile_path, 'sd_xl_offset_example-lora_1.0.safetensors')
|
11 |
|
12 |
xl_base = core.load_model(xl_base_filename)
|
13 |
+
xl_base = core.load_lora(xl_base, xl_base_offset_lora_filename, strength_model=1.0, strength_clip=0.0)
|
14 |
|
15 |
xl_refiner = core.load_model(xl_refiner_filename)
|
16 |
del xl_base.vae
|