alfredplpl commited on
Commit
2aea301
·
verified ·
1 Parent(s): af409e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -56,9 +56,9 @@ pipe.vae=pipe.vae.to(torch.float32)
56
  if(enable_model_cpu_offload):
57
  pipe.enable_model_cpu_offload()
58
  else:
59
- pipe.text_encoder_2=pipe.text_encoder_2.to("cuda:1")
60
- pipe.transformer=pipe.transformer.to("cuda:1")
61
- pipe=pipe.to("cuda:1")
62
 
63
  prompt = "modern anime style, A close-up portrait of a young girl with green hair. Her hair is vibrant and shoulder-length, framing her face softly. She has large, expressive eyes that are slightly tilted upward, with a gentle and calm expression. Her facial features are delicate, with a small nose and soft lips. The background is simple, focusing attention on her face, with soft lighting that highlights her features. The overall style of the illustration is warm and inviting, with a soft color palette and a slightly dreamy atmosphere."
64
  image = pipe(
 
56
  if(enable_model_cpu_offload):
57
  pipe.enable_model_cpu_offload()
58
  else:
59
+ pipe.text_encoder_2=pipe.text_encoder_2.to("cuda")
60
+ pipe.transformer=pipe.transformer.to("cuda")
61
+ pipe=pipe.to("cuda")
62
 
63
  prompt = "modern anime style, A close-up portrait of a young girl with green hair. Her hair is vibrant and shoulder-length, framing her face softly. She has large, expressive eyes that are slightly tilted upward, with a gentle and calm expression. Her facial features are delicate, with a small nose and soft lips. The background is simple, focusing attention on her face, with soft lighting that highlights her features. The overall style of the illustration is warm and inviting, with a soft color palette and a slightly dreamy atmosphere."
64
  image = pipe(