vilarin commited on
Commit
788611e
1 Parent(s): 0784aaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def enable_lora(lora_scale, lora_in, lora_add):
66
  lora_in = lora_add
67
  url = f'https://huggingface.co/{lora_in}/tree/main'
68
  lora_name = scrape_lora_link(url)
69
- pipe.load_lora_weights(lora_add, weight_name=lora_name)
70
  pipe.fuse_lora(lora_scale=lora_scale)
71
 
72
  def generate_image(
 
66
  lora_in = lora_add
67
  url = f'https://huggingface.co/{lora_in}/tree/main'
68
  lora_name = scrape_lora_link(url)
69
+ pipe.load_lora_weights(lora_in, weight_name=lora_name)
70
  pipe.fuse_lora(lora_scale=lora_scale)
71
 
72
  def generate_image(