alvdansen commited on
Commit
41651eb
β€’
1 Parent(s): 3e35f4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -32,7 +32,6 @@ def update_selection(selected_state: gr.SelectData, gr_sdxl_loras):
32
  def load_lora_for_style(style_repo):
33
  pipe.unload_lora_weights()
34
  pipe.load_lora_weights("jasperai/flash-sdxl", adapter_name="lora")
35
- pipe.set_adapters(["lora", new_adapter_id], adapter_weights=[1.0, user_lora_weight])
36
 
37
  def get_image(image_data):
38
  if isinstance(image_data, str):
 
32
  def load_lora_for_style(style_repo):
33
  pipe.unload_lora_weights()
34
  pipe.load_lora_weights("jasperai/flash-sdxl", adapter_name="lora")
 
35
 
36
  def get_image(image_data):
37
  if isinstance(image_data, str):