Commit
•
b488680
1
Parent(s):
c53e4d0
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
|
|
74 |
trigger_word = selected_lora["trigger_word"]
|
75 |
|
76 |
# Load LoRA weights
|
77 |
-
with calculateDuration(f"Loading LoRA weights for {selected_lora[
|
78 |
if "weights" in selected_lora:
|
79 |
pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
|
80 |
else:
|
|
|
74 |
trigger_word = selected_lora["trigger_word"]
|
75 |
|
76 |
# Load LoRA weights
|
77 |
+
with calculateDuration(f"Loading LoRA weights for {selected_lora['title']}"):
|
78 |
if "weights" in selected_lora:
|
79 |
pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
|
80 |
else:
|