BetterPlace
commited on
Commit
•
76ec6b0
1
Parent(s):
ce8e2d9
Test widgets
Browse files
README.md
CHANGED
@@ -38,4 +38,21 @@ weirdly colored eyes, weird eyelids, bad art, ((inaccurate)), (missing pupils),
|
|
38 |
# **(Disclaimer)**
|
39 |
|
40 |
*I am not affiliated with Ludo and do not own the rights to Bluey or its content, this was trained off of images from Bluey of which I do not own, and produces images similar to Bluey.
|
41 |
-
This was made purely from an educational, research, and general fun perspective. I have the highest level of respect for Ludo and their intellectual property, and do not in any way take credit for their work.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
# **(Disclaimer)**
|
39 |
|
40 |
*I am not affiliated with Ludo and do not own the rights to Bluey or its content, this was trained off of images from Bluey of which I do not own, and produces images similar to Bluey.
|
41 |
+
This was made purely from an educational, research, and general fun perspective. I have the highest level of respect for Ludo and their intellectual property, and do not in any way take credit for their work.*
|
42 |
+
|
43 |
+
```python
|
44 |
+
import torch
|
45 |
+
from torch import autocast
|
46 |
+
from diffusers import StableDiffusionPipeline
|
47 |
+
|
48 |
+
pipe = StableDiffusionPipeline.from_pretrained(
|
49 |
+
'BetterPlace/BlueyDiffusion',
|
50 |
+
torch_dtype=torch.float32
|
51 |
+
).to('cuda')
|
52 |
+
|
53 |
+
prompt = "Bluey"
|
54 |
+
with autocast("cuda"):
|
55 |
+
image = pipe(prompt, guidance_scale=6)["sample"][0]
|
56 |
+
|
57 |
+
image.save("test.png")
|
58 |
+
```
|