Spaces:
Running
on
Zero
Running
on
Zero
Fix typos
Browse files
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 =
|
| 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 |
|