Spaces:
Building
on
A10G
Building
on
A10G
examples
Browse files
app.py
CHANGED
@@ -204,10 +204,10 @@ def predict_examples(
|
|
204 |
remove_bg,
|
205 |
cond_mode,
|
206 |
seed,
|
207 |
-
"
|
208 |
-
"
|
209 |
30,
|
210 |
-
|
211 |
1.0,
|
212 |
)
|
213 |
|
@@ -259,18 +259,18 @@ with gr.Blocks(css=css) as blocks:
|
|
259 |
sampler_name = gr.Dropdown(
|
260 |
choices=samplers.KSampler.SAMPLERS,
|
261 |
label="Sampler Name",
|
262 |
-
value="
|
263 |
)
|
264 |
scheduler = gr.Dropdown(
|
265 |
choices=samplers.KSampler.SCHEDULERS,
|
266 |
label="Scheduler",
|
267 |
-
value="
|
268 |
)
|
269 |
steps = gr.Slider(
|
270 |
label="Steps", value=20, minimum=1, maximum=50, step=1
|
271 |
)
|
272 |
cfg = gr.Number(
|
273 |
-
label="CFG", value=
|
274 |
)
|
275 |
denoise = gr.Number(
|
276 |
label="Denoise", value=1.0, minimum=0.0, maximum=1.0, step=0.01
|
|
|
204 |
remove_bg,
|
205 |
cond_mode,
|
206 |
seed,
|
207 |
+
"dpmpp_2m_sde_gpu",
|
208 |
+
"karras",
|
209 |
30,
|
210 |
+
5,
|
211 |
1.0,
|
212 |
)
|
213 |
|
|
|
259 |
sampler_name = gr.Dropdown(
|
260 |
choices=samplers.KSampler.SAMPLERS,
|
261 |
label="Sampler Name",
|
262 |
+
value="dpmpp_2m_sde_gpu",
|
263 |
)
|
264 |
scheduler = gr.Dropdown(
|
265 |
choices=samplers.KSampler.SCHEDULERS,
|
266 |
label="Scheduler",
|
267 |
+
value="karras",
|
268 |
)
|
269 |
steps = gr.Slider(
|
270 |
label="Steps", value=20, minimum=1, maximum=50, step=1
|
271 |
)
|
272 |
cfg = gr.Number(
|
273 |
+
label="CFG", value=5.0, minimum=0.0, maximum=100.0, step=0.1
|
274 |
)
|
275 |
denoise = gr.Number(
|
276 |
label="Denoise", value=1.0, minimum=0.0, maximum=1.0, step=0.01
|
utils.py
CHANGED
@@ -150,7 +150,7 @@ examples = [
|
|
150 |
"./examples/old_jump.png",
|
151 |
False,
|
152 |
"SDXL, Foreground",
|
153 |
-
|
154 |
],
|
155 |
[
|
156 |
"a cute cat flying over Manhattan time square",
|
|
|
150 |
"./examples/old_jump.png",
|
151 |
False,
|
152 |
"SDXL, Foreground",
|
153 |
+
5350795678007195000,
|
154 |
],
|
155 |
[
|
156 |
"a cute cat flying over Manhattan time square",
|