Paper99 commited on
Commit
a159002
1 Parent(s): 451bf37
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def generate_image(upload_images, prompt, negative_prompt, style_name, num_steps
57
  prompt, negative_prompt = apply_style(style_name, prompt, negative_prompt)
58
 
59
  # Update nsfw negative prompt
60
- negative_prompt = 'nsfw, naked' + negative_prompt
61
  if upload_images is None:
62
  raise gr.Error(f"Cannot find any input face image! Please refer to step 1️⃣")
63
 
 
57
  prompt, negative_prompt = apply_style(style_name, prompt, negative_prompt)
58
 
59
  # Update nsfw negative prompt
60
+ negative_prompt = f"nsfw, naked, {negative_prompt}"
61
  if upload_images is None:
62
  raise gr.Error(f"Cannot find any input face image! Please refer to step 1️⃣")
63