Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,8 +192,8 @@ def run_lora(prompt, image_url, lora_strings_json, image_strength, cfg_scale, s
|
|
| 192 |
img2img.load_lora_weights(lora_repo, weight_name=weights, adapter_name=adapter_name)
|
| 193 |
else:
|
| 194 |
pipe.load_lora_weights(lora_repo, weight_name=weights, adapter_name=adapter_name)
|
| 195 |
-
except
|
| 196 |
-
print(
|
| 197 |
|
| 198 |
# set lora weights
|
| 199 |
if len(adapter_names) > 0:
|
|
|
|
| 192 |
img2img.load_lora_weights(lora_repo, weight_name=weights, adapter_name=adapter_name)
|
| 193 |
else:
|
| 194 |
pipe.load_lora_weights(lora_repo, weight_name=weights, adapter_name=adapter_name)
|
| 195 |
+
except:
|
| 196 |
+
print("load lora error")
|
| 197 |
|
| 198 |
# set lora weights
|
| 199 |
if len(adapter_names) > 0:
|