radames commited on
Commit
409d4bc
1 Parent(s): a123ffa
Files changed (2) hide show
  1. app.py +6 -6
  2. utils.py +1 -1
app.py CHANGED
@@ -204,10 +204,10 @@ def predict_examples(
204
  remove_bg,
205
  cond_mode,
206
  seed,
207
- "euler",
208
- "normal",
209
  30,
210
- 10.0,
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="euler",
263
  )
264
  scheduler = gr.Dropdown(
265
  choices=samplers.KSampler.SCHEDULERS,
266
  label="Scheduler",
267
- value="normal",
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=10.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
 
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
- 123123,
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",