Spaces:
Running
on
Zero
Running
on
Zero
修正lora目录
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def reload_all_loras():
|
|
| 50 |
pipe.unload_lora_weights()
|
| 51 |
for name in lora_names:
|
| 52 |
pipe.load_lora_weights(
|
| 53 |
-
"
|
| 54 |
weight_name=f"{name}_rank128_bf16.safetensors",
|
| 55 |
adapter_name=name,
|
| 56 |
)
|
|
|
|
| 50 |
pipe.unload_lora_weights()
|
| 51 |
for name in lora_names:
|
| 52 |
pipe.load_lora_weights(
|
| 53 |
+
f"{LOCAL_LORA_DIR}/LoRAs",
|
| 54 |
weight_name=f"{name}_rank128_bf16.safetensors",
|
| 55 |
adapter_name=name,
|
| 56 |
)
|