ehristoforu commited on
Commit
9dbc715
1 Parent(s): 9e82664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -122,14 +122,14 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
122
  run_button = gr.Button("Run", scale=0)
123
  result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
124
  with gr.Accordion("Advanced options", open=False):
125
- use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
126
  negative_prompt = gr.Text(
127
  label="Negative prompt",
128
  lines=4,
129
  max_lines=6,
130
- value="""(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation""",
131
  placeholder="Enter a negative prompt",
132
- visible=False,
133
  )
134
  seed = gr.Slider(
135
  label="Seed",
 
122
  run_button = gr.Button("Run", scale=0)
123
  result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
124
  with gr.Accordion("Advanced options", open=False):
125
+ use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
126
  negative_prompt = gr.Text(
127
  label="Negative prompt",
128
  lines=4,
129
  max_lines=6,
130
+ value="""(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, (NSFW:1.25)""",
131
  placeholder="Enter a negative prompt",
132
+ visible=True,
133
  )
134
  seed = gr.Slider(
135
  label="Seed",