multimodalart HF staff commited on
Commit
cbd999a
β€’
1 Parent(s): 8bc3178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -116,7 +116,10 @@ with gr.Blocks(css=css) as demo:
116
  preserve = gr.Checkbox(label="Preserve Face Structure", info="Higher quality, less versatility (the face structure of your first photo will be preserved)", value=True)
117
  face_strength = gr.Slider(label="Face Structure strength", info="Only applied if preserve face structure is checked", value=1.3, step=0.1, minimum=0, maximum=3)
118
  likeness_strength = gr.Slider(label="Face Embed strength", value=1.0, step=0.1, minimum=0, maximum=5)
119
- nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts", info="Negative prompts to steer generations towards safe for all audiences outputs", value="naked, swimsuit")
 
 
 
120
  with gr.Column():
121
  gallery = gr.Gallery(label="Generated Images")
122
  style.change(fn=change_style,
 
116
  preserve = gr.Checkbox(label="Preserve Face Structure", info="Higher quality, less versatility (the face structure of your first photo will be preserved)", value=True)
117
  face_strength = gr.Slider(label="Face Structure strength", info="Only applied if preserve face structure is checked", value=1.3, step=0.1, minimum=0, maximum=3)
118
  likeness_strength = gr.Slider(label="Face Embed strength", value=1.0, step=0.1, minimum=0, maximum=5)
119
+ nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts", info="Negative prompts to steer generations towards safe for all audiences outputs", value="naked, bikini, skimpy, scanty, bare skin, lingerie, swimsuit, exposed, see-through")
120
+
121
+ gr.Markdown("This demo includes extra features to prevent the usage of the model to generate content with faces of people, including third parties, that is not safe for all audiences, including naked or semi-naked people.")
122
+
123
  with gr.Column():
124
  gallery = gr.Gallery(label="Generated Images")
125
  style.change(fn=change_style,