Krebzonide commited on
Commit
85bca33
1 Parent(s): 5d0cc84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -42,6 +42,7 @@ def generate(prompt, neg_prompt, samp_steps, cfg_scale, batch_size, seed, height
42
  if prompt[:10] == "krebzonide":
43
  prompt = prompt[10:]
44
  else:
 
45
  for word in naughtyWords:
46
  if prompt.find(word) >= 0:
47
  return None, 58008
@@ -49,7 +50,7 @@ def generate(prompt, neg_prompt, samp_steps, cfg_scale, batch_size, seed, height
49
  seed = random.randint(1,999999)
50
  images = pipe(
51
  prompt,
52
- negative_prompt=neg_prompt + ", child, nsfw",
53
  num_inference_steps=samp_steps,
54
  guidance_scale=cfg_scale,
55
  num_images_per_prompt=batch_size,
 
42
  if prompt[:10] == "krebzonide":
43
  prompt = prompt[10:]
44
  else:
45
+ neg_prompt = neg_prompt + ", child, nsfw, nipples, nude, underwear"
46
  for word in naughtyWords:
47
  if prompt.find(word) >= 0:
48
  return None, 58008
 
50
  seed = random.randint(1,999999)
51
  images = pipe(
52
  prompt,
53
+ negative_prompt=neg_prompt,
54
  num_inference_steps=samp_steps,
55
  guidance_scale=cfg_scale,
56
  num_images_per_prompt=batch_size,