Spaces:
Paused
Paused
Commit
·
3424ad0
1
Parent(s):
eb6d120
Update app.py
Browse files
app.py
CHANGED
@@ -169,7 +169,7 @@ def run_lora(prompt, negative, lora_scale, selected_state, sdxl_loras, sdxl_lora
|
|
169 |
#if(last_fused):
|
170 |
#pipe.unfuse_lora()
|
171 |
pipe.load_lora_weights(loaded_state_dict, adapter_name=sdxl_loras[selected_state.index]["repo"])
|
172 |
-
pipe.set_adapters(sdxl_loras[selected_state.index]["repo"], "lcm_lora"], adapter_weights=[0.8, 1.0])
|
173 |
#last_fused = True
|
174 |
is_pivotal = sdxl_loras[selected_state.index]["is_pivotal"]
|
175 |
if(is_pivotal):
|
|
|
169 |
#if(last_fused):
|
170 |
#pipe.unfuse_lora()
|
171 |
pipe.load_lora_weights(loaded_state_dict, adapter_name=sdxl_loras[selected_state.index]["repo"])
|
172 |
+
pipe.set_adapters([sdxl_loras[selected_state.index]["repo"], "lcm_lora"], adapter_weights=[0.8, 1.0])
|
173 |
#last_fused = True
|
174 |
is_pivotal = sdxl_loras[selected_state.index]["is_pivotal"]
|
175 |
if(is_pivotal):
|