zhiweili commited on
Commit
3125693
1 Parent(s): 3a1c951

update NEGATIVE_PROMPT

Browse files
Files changed (1) hide show
  1. app_img2img.py +1 -1
app_img2img.py CHANGED
@@ -16,7 +16,7 @@ BASE_MODEL = "stabilityai/stable-diffusion-xl-base-1.0"
16
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
17
 
18
  DEFAULT_EDIT_PROMPT = "a beautiful woman with a hollywood style face"
19
- DEFAULT_NEGATIVE_PROMPT = "nude, nudity, nsfw, nipple, Bare-chested, palm hand, hands, fingers, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, cloned face, disfigured"
20
 
21
  DEFAULT_CATEGORY = "face"
22
 
 
16
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
17
 
18
  DEFAULT_EDIT_PROMPT = "a beautiful woman with a hollywood style face"
19
+ DEFAULT_NEGATIVE_PROMPT = "worst quality, normal quality, low quality, low res, blurry, text, watermark, logo, banner, extra digits, cropped, jpeg artifacts, signature, username, error, sketch ,duplicate, ugly, monochrome, horror, geometry, mutation, disgusting, poorly drawn face, bad face, fused face, ugly face, worst face, asymmetrical, unrealistic skin texture, bad proportions, out of frame, poorly drawn hands, cloned face, double face"
20
 
21
  DEFAULT_CATEGORY = "face"
22