Spaces:
Running
Running
JV A
commited on
Commit
·
8349fa7
1
Parent(s):
ccb68d5
Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ iface = gr.Interface(
|
|
85 |
inputs=[
|
86 |
gr.components.Textbox(label="Prompt"),
|
87 |
gr.components.Textbox(default="ugly, tiling, poorlydrawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft", label="Negative Prompt"),
|
|
|
88 |
gr.components.Dropdown(choices=[
|
89 |
"Euler a",
|
90 |
"Euler",
|
@@ -106,12 +107,11 @@ iface = gr.Interface(
|
|
106 |
"DDIM",
|
107 |
"PLMS"
|
108 |
], label="Scheduler", default="Euler a"),
|
109 |
-
gr.components.Slider(minimum=10, maximum=100, default=30, label="Steps"),
|
110 |
gr.components.Slider(minimum=512, maximum=1600, default=768, label="Width"),
|
111 |
gr.components.Slider(minimum=512, maximum=1600, default=768, label="Height"),
|
112 |
-
gr.components.
|
113 |
gr.components.Number(label="Seed", default=None),
|
114 |
-
gr.components.
|
115 |
],
|
116 |
outputs=gr.components.Image(),
|
117 |
title="Freedom Demonstration",
|
|
|
85 |
inputs=[
|
86 |
gr.components.Textbox(label="Prompt"),
|
87 |
gr.components.Textbox(default="ugly, tiling, poorlydrawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft", label="Negative Prompt"),
|
88 |
+
gr.components.Slider(minimum=10, maximum=100, default=30, label="Steps"),
|
89 |
gr.components.Dropdown(choices=[
|
90 |
"Euler a",
|
91 |
"Euler",
|
|
|
107 |
"DDIM",
|
108 |
"PLMS"
|
109 |
], label="Scheduler", default="Euler a"),
|
|
|
110 |
gr.components.Slider(minimum=512, maximum=1600, default=768, label="Width"),
|
111 |
gr.components.Slider(minimum=512, maximum=1600, default=768, label="Height"),
|
112 |
+
gr.components.Slider(minimum=4, maximum=12, step=0.5, default=7.0, label="CFG"),
|
113 |
gr.components.Number(label="Seed", default=None),
|
114 |
+
gr.components.Checkbox(label="Restore Faces"),
|
115 |
],
|
116 |
outputs=gr.components.Image(),
|
117 |
title="Freedom Demonstration",
|