Update README.md
Browse files
README.md
CHANGED
@@ -46,6 +46,26 @@ Image Processing Parameters
|
|
46 |
| Network Alpha | 32 | Repeat | 20 |
|
47 |
| Epoch | 15 | Save Every N Epochs | 1 |
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
## Trigger prompts
|
50 |
|
51 |
A picture in the style of a gta 5 poster game, GTA V, Grand Theft Auto 5 poster, 16k, UHD, HDR, solo human, a blond man with a beard and glasses, in a formal suit
|
|
|
46 |
| Network Alpha | 32 | Repeat | 20 |
|
47 |
| Epoch | 15 | Save Every N Epochs | 1 |
|
48 |
|
49 |
+
```py
|
50 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
51 |
+
"SG161222/RealVisXL_V4.0",
|
52 |
+
torch_dtype=torch.float16,
|
53 |
+
use_safetensors=True,
|
54 |
+
)
|
55 |
+
-----------------------------------------------------------
|
56 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
57 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
58 |
+
torch_dtype=torch.float16,
|
59 |
+
use_safetensors=True,
|
60 |
+
)
|
61 |
+
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
62 |
+
|
63 |
+
pipe.load_lora_weights("prithivMLmods/Pegasi-Beta-GTA-LoRA", weight_name="Pegasi-Beta-GTA-LoRA.safetensors", adapter_name="realism")
|
64 |
+
pipe.set_adapters("realism")
|
65 |
+
pipe.to("cuda")
|
66 |
+
```
|
67 |
+
|
68 |
+
|
69 |
## Trigger prompts
|
70 |
|
71 |
A picture in the style of a gta 5 poster game, GTA V, Grand Theft Auto 5 poster, 16k, UHD, HDR, solo human, a blond man with a beard and glasses, in a formal suit
|