waveydaveygravy commited on
Commit
29abc2f
1 Parent(s): d46937a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks(css=css) as demo:
122
  seed = gr.Slider(label="seed", value=1000, step=100, minimum=100, maximum=2000)
123
  guidance_scale = gr.Slider(label="CFG", value=1.0, step=0.5, minimum=0, maximum=20)
124
  num_samples = gr.Slider(label="samples", info="Only applied if preserve face structure is checked", value=1, step=1, minimum=1, maximum=16)
125
- nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts 4 realistic vision model", info="Negative prompts to steer generations towards safe for all audiences outputs", value="deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck"
126
  with gr.Column():
127
  gallery = gr.Gallery(label="Generated Images")
128
  style.change(fn=change_style,
@@ -136,4 +136,4 @@ with gr.Blocks(css=css) as demo:
136
 
137
  gr.Markdown("safety filter is on")
138
 
139
- demo.launch(share=True)
 
122
  seed = gr.Slider(label="seed", value=1000, step=100, minimum=100, maximum=2000)
123
  guidance_scale = gr.Slider(label="CFG", value=1.0, step=0.5, minimum=0, maximum=20)
124
  num_samples = gr.Slider(label="samples", info="Only applied if preserve face structure is checked", value=1, step=1, minimum=1, maximum=16)
125
+ nfaa_negative_prompts = gr.Textbox(label="Appended Negative Prompts 4 realistic vision model", info="Negative prompts to steer generations towards safe for all audiences outputs", value="deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck")
126
  with gr.Column():
127
  gallery = gr.Gallery(label="Generated Images")
128
  style.change(fn=change_style,
 
136
 
137
  gr.Markdown("safety filter is on")
138
 
139
+ demo.launch(share=True)