not-someone commited on
Commit
418fcd1
1 Parent(s): 1f71eb6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -26,9 +26,8 @@ photo anime, masterpiece, high quality, absurdres
26
  Use negative prompts for best results, for example:
27
  ```
28
  simple background, duplicate, retro style, low quality, lowest quality, 1980s, 1990s, 2000s, 2005 2006 2007 2008 2009 2010 2011 2012 2013, bad anatomy,
29
- bad proportions, extra digits, lowres, dated, username, artist name, error, out of frame, duplicate, watermark, signature, text,
30
- extra digit, fewer digits, worst quality, normal quality, jpeg artifacts, blurry, missing arms, bad hands, missing fingers, cropped,
31
- ugly, morbid, mutilated, extra fingers, mutated hands, deformed, gross proportions, second head
32
  ```
33
 
34
  **1girl**, **girl**, etc. give a bit different results, feel free to experiment and see which one you like more!
@@ -66,7 +65,8 @@ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float
66
  pipe = pipe.to("cuda")
67
 
68
  prompt = "anime, masterpiece, high quality, 1girl, solo, long hair, looking at viewer, blush, smile, bangs, blue eyes, skirt, medium breasts, iridescent, gradient, colorful, besides a cottage, in the country"
69
- image = pipe(prompt).images[0]
 
70
 
71
  image.save("./result.jpg")
72
  ```
 
26
  Use negative prompts for best results, for example:
27
  ```
28
  simple background, duplicate, retro style, low quality, lowest quality, 1980s, 1990s, 2000s, 2005 2006 2007 2008 2009 2010 2011 2012 2013, bad anatomy,
29
+ bad proportions, extra digits, lowres, username, artist name, error, duplicate, watermark, signature, text, extra digit, fewer digits, worst quality,
30
+ jpeg artifacts, blurry
 
31
  ```
32
 
33
  **1girl**, **girl**, etc. give a bit different results, feel free to experiment and see which one you like more!
 
65
  pipe = pipe.to("cuda")
66
 
67
  prompt = "anime, masterpiece, high quality, 1girl, solo, long hair, looking at viewer, blush, smile, bangs, blue eyes, skirt, medium breasts, iridescent, gradient, colorful, besides a cottage, in the country"
68
+ negative_prompt = 'simple background, duplicate, retro style, low quality, lowest quality, 1980s, 1990s, 2000s, 2005 2006 2007 2008 2009 2010 2011 2012 2013, bad anatomy, bad proportions, extra digits, lowres, username, artist name, error, duplicate, watermark, signature, text, extra digit, fewer digits, worst quality, jpeg artifacts, blurry'
69
+ image = pipe(prompt, negative_prompt=negative_prompt).images[0]
70
 
71
  image.save("./result.jpg")
72
  ```