Update README.md
Browse files
README.md
CHANGED
|
@@ -51,8 +51,10 @@ This model can be easily used in `diffusers` library.
|
|
| 51 |
from diffusers import StableDiffusionXLPipeline
|
| 52 |
import torch
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
torch_dtype=torch.float16,
|
| 57 |
use_safetensors=True
|
| 58 |
)
|
|
|
|
| 51 |
from diffusers import StableDiffusionXLPipeline
|
| 52 |
import torch
|
| 53 |
|
| 54 |
+
ckpt_path = "https://huggingface.co/EngineerGL/DreamCoil-PonyXL/blob/main/DreamCoil-PonyXl.safetensors"
|
| 55 |
+
|
| 56 |
+
pipeline = StableDiffusionXLPipeline.from_single_file(
|
| 57 |
+
ckpt_path,
|
| 58 |
torch_dtype=torch.float16,
|
| 59 |
use_safetensors=True
|
| 60 |
)
|