Update README.md
Browse files
README.md
CHANGED
@@ -15,15 +15,17 @@ and run.
|
|
15 |
```py
|
16 |
import torch
|
17 |
from diffusers import AutoPipelineForText2Image
|
|
|
18 |
|
19 |
-
pipe = AutoPipelineForText2Image.from_pretrained("warp-
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
29 |
```
|
|
|
15 |
```py
|
16 |
import torch
|
17 |
from diffusers import AutoPipelineForText2Image
|
18 |
+
from diffusers.pipelines.wuerstchen import default_stage_c_timesteps
|
19 |
|
20 |
+
pipe = AutoPipelineForText2Image.from_pretrained("warp-ai/wuerstchen", torch_dtype=torch.float16).to("cuda")
|
21 |
|
22 |
+
caption = "Anthropomorphic cat dressed as a fire fighter"
|
23 |
+
images = pipe(
|
24 |
+
caption,
|
25 |
+
width=1024,
|
26 |
+
height=1536,
|
27 |
+
prior_timesteps=default_stage_c_timesteps,
|
28 |
+
prior_guidance_scale=4.0,
|
29 |
+
num_images_per_prompt=2,
|
30 |
+
).images
|
31 |
```
|