Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -99,6 +99,7 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
|
|
| 99 |
pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
|
| 100 |
else:
|
| 101 |
pipe.load_lora_weights(lora_path)
|
|
|
|
| 102 |
|
| 103 |
# Set random seed for reproducibility
|
| 104 |
with calculateDuration("Randomizing seed"):
|
|
|
|
| 99 |
pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
|
| 100 |
else:
|
| 101 |
pipe.load_lora_weights(lora_path)
|
| 102 |
+
else: trigger_word = ""
|
| 103 |
|
| 104 |
# Set random seed for reproducibility
|
| 105 |
with calculateDuration("Randomizing seed"):
|