Adapter commited on
Commit
0a5ba7b
1 Parent(s): 24214af

Update app_base.py

Browse files

add default negative prompt

Files changed (1) hide show
  1. app_base.py +1 -1
app_base.py CHANGED
@@ -175,7 +175,7 @@ def create_demo(model: Model) -> gr.Blocks:
175
  run_button = gr.Button("Run")
176
  with gr.Accordion("Advanced options", open=False):
177
  apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
178
- negative_prompt = gr.Textbox(label="Negative prompt")
179
  num_inference_steps = gr.Slider(
180
  label="Number of steps",
181
  minimum=1,
 
175
  run_button = gr.Button("Run")
176
  with gr.Accordion("Advanced options", open=False):
177
  apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
178
+ negative_prompt = gr.Textbox(label="Negative prompt", value=" extra digit, fewer digits, cropped, worst quality, low quality, glitch, deformed, mutated, ugly, disfigured")
179
  num_inference_steps = gr.Slider(
180
  label="Number of steps",
181
  minimum=1,