CiaraRowles commited on
Commit
25b7e03
·
verified ·
1 Parent(s): abe9006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ with gr.Blocks(css=css) as demo:
103
  files.upload(fn=swap_to_gallery, inputs=files, outputs=[uploaded_files, clear_button, files])
104
  remove_and_reupload.click(fn=remove_back_to_files, outputs=[uploaded_files, clear_button, files])
105
  submit.click(fn=generate_image,
106
- inputs=[files,prompt,negative_prompt, scale, nfaa_negative_prompts],
107
  outputs=gallery)
108
 
109
  gr.Markdown("This demo includes extra features to mitigate the implicit bias of the model and prevent explicit usage of it to generate content with faces of people, including third parties, that is not safe for all audiences, including naked or semi-naked people.")
 
103
  files.upload(fn=swap_to_gallery, inputs=files, outputs=[uploaded_files, clear_button, files])
104
  remove_and_reupload.click(fn=remove_back_to_files, outputs=[uploaded_files, clear_button, files])
105
  submit.click(fn=generate_image,
106
+ inputs=[files,prompt,negative_prompt, 1.0, nfaa_negative_prompts],
107
  outputs=gallery)
108
 
109
  gr.Markdown("This demo includes extra features to mitigate the implicit bias of the model and prevent explicit usage of it to generate content with faces of people, including third parties, that is not safe for all audiences, including naked or semi-naked people.")