Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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(
|