rafaaa2105 commited on
Commit
9627d6f
1 Parent(s): edf126d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ with gr.Blocks() as demo:
38
  model_dropdown = gr.Dropdown(choices=list(models.keys()), value=model_list[0] if model_list else None, label="Model")
39
  prompt = gr.Textbox(label="Prompt")
40
  with gr.Accordion("Advanced", open=False):
41
- negative_prompt = gr.Textbox(label="Negative Prompt", value="nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract], kid, kid looking, child, childish look")
42
  num_inference_steps = gr.Slider(minimum=10, maximum=50, step=1, value=25, label="Number of Inference Steps")
43
  guidance_scale = gr.Slider(minimum=1, maximum=20, step=0.5, value=7.5, label="Guidance Scale")
44
  num_images = gr.Slider(minimum=1, maximum=4, step=1, value=4, label="Number of Images")
 
38
  model_dropdown = gr.Dropdown(choices=list(models.keys()), value=model_list[0] if model_list else None, label="Model")
39
  prompt = gr.Textbox(label="Prompt")
40
  with gr.Accordion("Advanced", open=False):
41
+ negative_prompt = gr.Textbox(label="Negative Prompt", value="lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract], kid, kid looking, child, childish look")
42
  num_inference_steps = gr.Slider(minimum=10, maximum=50, step=1, value=25, label="Number of Inference Steps")
43
  guidance_scale = gr.Slider(minimum=1, maximum=20, step=0.5, value=7.5, label="Guidance Scale")
44
  num_images = gr.Slider(minimum=1, maximum=4, step=1, value=4, label="Number of Images")