John6666 commited on
Commit
b30ba13
1 Parent(s): 9402170

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"):