Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ print(f"Загрузка LoRA")
|
|
60 |
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-add-details", weight_name="FLUX-dev-lora-add_details.safetensors")
|
61 |
print(f"Загрузка LoRA завершена за {time.time() - start_time:.2f} секунд")
|
62 |
|
63 |
-
pipe.fuse_lora(lora_scale=0.
|
64 |
pipe.to(device)
|
65 |
|
66 |
start_time = time.time()
|
|
|
60 |
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-add-details", weight_name="FLUX-dev-lora-add_details.safetensors")
|
61 |
print(f"Загрузка LoRA завершена за {time.time() - start_time:.2f} секунд")
|
62 |
|
63 |
+
pipe.fuse_lora(lora_scale=0.5)
|
64 |
pipe.to(device)
|
65 |
|
66 |
start_time = time.time()
|