dome272 commited on
Commit
ac22e3d
1 Parent(s): 5d1ddad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -9
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-diffusion/wuerstchen", torch_dtype=torch.float16).to("cuda")
20
 
21
- prompt = [
22
- "An old destroyed car standing on a cliff in norway, cinematic photography",
23
- "Western movie, closeup cinematic photography",
24
- "Pink nike shoe commercial, closeup cinematic photography",
25
- "Croatia, closeup cinematic photography",
26
- "South Tyrol mountains at sunset, closeup cinematic photography",
27
- ]
28
- images = pipe(prompt, guidance_scale=8.0, width=1024, height=1024).images
 
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
  ```