Richard Neuschulz commited on
Commit
faa7adc
1 Parent(s): ca07f5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,9 +97,9 @@ with gr.Blocks(css=css) as demo:
97
  negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="low quality", value="low quality, worst quality")
98
  style = "Photorealistic"
99
  submit = gr.Button("Submit")
100
- with gr.Accordion(open=True, label="Advanced Options"):
101
- face_strength = gr.Slider(label="Face Structure strength", info="Only applied if preserve face structure is checked", value=1.3, step=0.1, minimum=0, maximum=3)
102
- likeness_strength = gr.Slider(label="Face Embed strength", value=1.0, step=0.1, minimum=0, maximum=5)
103
  with gr.Column():
104
  gallery = gr.Gallery(label="Generated Images")
105
  files.upload(fn=swap_to_gallery, inputs=files, outputs=[uploaded_files, clear_button, files])
 
97
  negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="low quality", value="low quality, worst quality")
98
  style = "Photorealistic"
99
  submit = gr.Button("Submit")
100
+ with gr.Column(open=True, label="Advanced Options"):
101
+ face_strength = gr.Slider(label="Guidance Scale", info="Dunno what this actually is", value=7.5, step=0.1, minimum=1, maximum=10)
102
+ likeness_strength = gr.Slider(label="Scale", info="Dunno what this actually is, either", value=1.0, step=0.1, minimum=0, maximum=5)
103
  with gr.Column():
104
  gallery = gr.Gallery(label="Generated Images")
105
  files.upload(fn=swap_to_gallery, inputs=files, outputs=[uploaded_files, clear_button, files])