Spaces:
Runtime error
Runtime error
prithivMLmods
commited on
Commit
•
56f1983
1
Parent(s):
df7fe3b
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
|
|
14 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
15 |
pipe = pipe.to(device)
|
16 |
|
17 |
-
pipe.load_lora_weights("
|
18 |
-
trigger_word = "Turbo
|
19 |
pipe.fuse_lora(lora_scale=1.0)
|
20 |
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
14 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
15 |
pipe = pipe.to(device)
|
16 |
|
17 |
+
pipe.load_lora_weights("strangerzonehf/SD3.5-Turbo-Portrait-LoRA", weight_name="SD3.5-Turbo-Portrait.safetensors")
|
18 |
+
trigger_word = "Turbo Portrait"
|
19 |
pipe.fuse_lora(lora_scale=1.0)
|
20 |
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|