Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
82b5762
1
Parent(s):
c9c6564
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ 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("prithivMLmods/SD3.5-
|
18 |
trigger_word = "hyper realistic" # Specify trigger word for LoRA
|
19 |
pipe.fuse_lora(lora_scale=1.0)
|
20 |
|
|
|
14 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
15 |
pipe = pipe.to(device)
|
16 |
|
17 |
+
pipe.load_lora_weights("prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA", weight_name="SD3.5-4Step-Large-Turbo-HyperRealistic-LoRA.safetensors")
|
18 |
trigger_word = "hyper realistic" # Specify trigger word for LoRA
|
19 |
pipe.fuse_lora(lora_scale=1.0)
|
20 |
|