alfabill commited on
Commit
6226a68
·
1 Parent(s): 549a608

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ with image_blocks as demo:
152
  with gr.Box(elem_id="mask_radio").style(border=False):
153
  radio = gr.Radio(["draw a mask above", "type what to mask below"], value="draw a mask above", show_label=False, interactive=True).style(container=False)
154
  word_mask = gr.Textbox(label = "What to find in your image", interactive=False, elem_id="word_mask", placeholder="Disabled", value="chest, outfit, dress, costume, wear, clothing").style(container=False)
155
- prompt = gr.Textbox(label = 'Your prompt (what you want to add in place of what you are removing)', value="nsfw, porn, naked skin, big breast, massive nipples, nude, naked, skin, unclothed, topless, uncovered,Nude,Bare,Unclothed,Undressed,Au naturel,Stripped,Exposed,Bare-skinned,In the buff,Without clothes")
156
  radio.change(fn=swap_word_mask, inputs=radio, outputs=word_mask,show_progress=False)
157
  radio.change(None, inputs=[], outputs=image_blocks, _js = """
158
  () => {
 
152
  with gr.Box(elem_id="mask_radio").style(border=False):
153
  radio = gr.Radio(["draw a mask above", "type what to mask below"], value="draw a mask above", show_label=False, interactive=True).style(container=False)
154
  word_mask = gr.Textbox(label = "What to find in your image", interactive=False, elem_id="word_mask", placeholder="Disabled", value="chest, outfit, dress, costume, wear, clothing").style(container=False)
155
+ prompt = gr.Textbox(label = 'Your prompt (what you want to add in place of what you are removing)', value="")
156
  radio.change(fn=swap_word_mask, inputs=radio, outputs=word_mask,show_progress=False)
157
  radio.change(None, inputs=[], outputs=image_blocks, _js = """
158
  () => {