zwl commited on
Commit
e9cfc77
·
1 Parent(s): 279fc85
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,7 +12,7 @@ scheduler = UniPCMultistepScheduler(
12
  thresholding=False,
13
  solver_type='bh2',
14
  lower_order_final=True,
15
- disable_corrector=[0],
16
  )
17
 
18
  class Model:
@@ -243,8 +243,8 @@ with gr.Blocks(css=css) as demo:
243
  steps = gr.Slider(label="Steps", value=25, minimum=2, maximum=100, step=1)
244
 
245
  with gr.Row():
246
- width = gr.Slider(label="Width", value=512, minimum=64, maximum=1024, step=8)
247
- height = gr.Slider(label="Height", value=512, minimum=64, maximum=1024, step=8)
248
 
249
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
250
 
 
12
  thresholding=False,
13
  solver_type='bh2',
14
  lower_order_final=True,
15
+ disable_corrector=[],
16
  )
17
 
18
  class Model:
 
243
  steps = gr.Slider(label="Steps", value=25, minimum=2, maximum=100, step=1)
244
 
245
  with gr.Row():
246
+ width = gr.Slider(label="Width", value=512, minimum=64, maximum=512, step=8)
247
+ height = gr.Slider(label="Height", value=512, minimum=64, maximum=512, step=8)
248
 
249
  seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
250