Spaces:
Running on Zero
Running on Zero
Fix: nsfw check
Browse files55 unmodified lines56575859606155 unmodified lines# apply the style templateprompt, negative_prompt = apply_style(style_name, prompt, negative_prompt)if upload_images is None:raise gr.Error(f"Cannot find any input face image! Please refer to step 1️⃣")55 unmodified lines565758596061626355 unmodified lines# apply the style templateprompt, negative_prompt = apply_style(style_name, prompt, negative_prompt)# Update nsfw negative promptnegative_prompt = 'nsfw, naked' + negative_promptif upload_images is None:raise gr.Error(f"Cannot find any input face image! Please refer to step 1️⃣")
app.py+2