Update README.md

#5
by YiYiXu - opened
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -34,8 +34,7 @@ t2i_pipe.to("cuda")
34
  prompt = "A alien cheeseburger creature eating itself, claymation, cinematic, moody lighting"
35
  negative_prompt = "low quality, bad quality"
36
 
37
- generator = torch.Generator(device="cuda").manual_seed(12)
38
- image_embeds, negative_image_embeds = pipe_prior(prompt, negative_prompt, generator=generator).to_tuple()
39
 
40
  image = t2i_pipe(prompt, image_embeds=image_embeds, negative_image_embeds=negative_image_embeds).images[0]
41
  image.save("cheeseburger_monster.png")
@@ -72,8 +71,7 @@ pipe.to("cuda")
72
  prompt = "A fantasy landscape, Cinematic lighting"
73
  negative_prompt = "low quality, bad quality"
74
 
75
- generator = torch.Generator(device="cuda").manual_seed(30)
76
- image_embeds, negative_image_embeds = pipe_prior(prompt, negative_prompt, generator=generator).to_tuple()
77
 
78
  out = pipe(
79
  prompt,
 
34
  prompt = "A alien cheeseburger creature eating itself, claymation, cinematic, moody lighting"
35
  negative_prompt = "low quality, bad quality"
36
 
37
+ image_embeds, negative_image_embeds = pipe_prior(prompt, negative_prompt).to_tuple()
 
38
 
39
  image = t2i_pipe(prompt, image_embeds=image_embeds, negative_image_embeds=negative_image_embeds).images[0]
40
  image.save("cheeseburger_monster.png")
 
71
  prompt = "A fantasy landscape, Cinematic lighting"
72
  negative_prompt = "low quality, bad quality"
73
 
74
+ image_embeds, negative_image_embeds = pipe_prior(prompt, negative_prompt).to_tuple()
 
75
 
76
  out = pipe(
77
  prompt,