prithivMLmods commited on
Commit
3c33846
·
verified ·
1 Parent(s): 66bdaad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -189,11 +189,13 @@ with gr.Blocks(css=css, theme="xiaobaiyuan/theme_brief") as demo:
189
  run_button = gr.Button("Run")
190
  result = gr.Gallery(label="Result", columns=1, preview=True)
191
  with gr.Accordion("Advanced options", open=False):
192
- use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
193
  negative_prompt = gr.Text(
194
  label="Negative prompt",
195
- max_lines=1,
 
196
  placeholder="Enter a negative prompt",
 
197
  visible=True,
198
  )
199
  with gr.Row():
 
189
  run_button = gr.Button("Run")
190
  result = gr.Gallery(label="Result", columns=1, preview=True)
191
  with gr.Accordion("Advanced options", open=False):
192
+ use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
193
  negative_prompt = gr.Text(
194
  label="Negative prompt",
195
+ max_lines=5,
196
+ line=4,
197
  placeholder="Enter a negative prompt",
198
+ 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",
199
  visible=True,
200
  )
201
  with gr.Row():