multimodalart HF staff commited on
Commit
751f5a5
1 Parent(s): 0e74af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,6 +108,7 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
108
  pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
109
  else:
110
  pipe.load_lora_weights(lora_path)
 
111
  with calculateDuration(f"Fusing LoRA weights for {selected_lora['title']}"):
112
  pipe.fuse_lora(lora_scale)
113
 
@@ -285,4 +286,4 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
285
  )
286
 
287
  app.queue()
288
- app.launch()
 
108
  pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])
109
  else:
110
  pipe.load_lora_weights(lora_path)
111
+
112
  with calculateDuration(f"Fusing LoRA weights for {selected_lora['title']}"):
113
  pipe.fuse_lora(lora_scale)
114
 
 
286
  )
287
 
288
  app.queue()
289
+ app.launch(show_error=True)