Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,8 @@ torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
|
|
15 |
|
16 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
17 |
pipe = pipe.to(device)
|
18 |
-
pipe.load_lora_weights("strangerzonehf/SD3.5-
|
|
|
19 |
pipe.fuse_lora(lora_scale=1.0)
|
20 |
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
15 |
|
16 |
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
17 |
pipe = pipe.to(device)
|
18 |
+
pipe.load_lora_weights("strangerzonehf/NFT_Character_Avatar-SD3.5-TURBO-Large", weight_name="nft-avatar-3d-sd35.safetensors")
|
19 |
+
trigger_word = "nft avatar 3d" # Specify trigger word for LoRA
|
20 |
pipe.fuse_lora(lora_scale=1.0)
|
21 |
|
22 |
MAX_SEED = np.iinfo(np.int32).max
|