Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
| 29 |
).to(device)
|
| 30 |
|
| 31 |
# 👉 Подключаем LoRA здесь
|
| 32 |
-
pipe.load_lora_weights("FaceNpenisV4XL.safetensors", adapter_name="my_lora")
|
| 33 |
-
pipe.set_adapters(["my_lora"], adapter_weights=[1])
|
| 34 |
|
| 35 |
|
| 36 |
|
|
|
|
| 29 |
).to(device)
|
| 30 |
|
| 31 |
# 👉 Подключаем LoRA здесь
|
| 32 |
+
#pipe.load_lora_weights("FaceNpenisV4XL.safetensors", adapter_name="my_lora")
|
| 33 |
+
#pipe.set_adapters(["my_lora"], adapter_weights=[1])
|
| 34 |
|
| 35 |
|
| 36 |
|