Spaces:
Running
on
Zero
Running
on
Zero
Richard Neuschulz
commited on
Commit
•
faa7adc
1
Parent(s):
ca07f5f
Update app.py
Browse files
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.
|
101 |
-
face_strength = gr.Slider(label="
|
102 |
-
likeness_strength = gr.Slider(label="
|
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])
|