pengdaqian commited on
Commit
5ada03b
1 Parent(s): 7681a30
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -137,7 +137,7 @@ css = """
137
  accent-color: #dfdfdf;
138
  }
139
  .container {
140
- max-width: 730px;
141
  margin: auto;
142
  padding-top: 1.5rem;
143
  }
@@ -364,8 +364,8 @@ with block:
364
  </h1>
365
  </div>
366
  <p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
367
- Stable Diffusion 2.1 Demo App.
368
- Click "Generate image" Button to generate image.
369
  Also Change params to have a try
370
  </p>
371
  </div>
@@ -443,7 +443,7 @@ with block:
443
  ex = gr.Examples(examples=examples, fn=infer,
444
  inputs=[text, negative, width, height, sampler, steps, seed, guidance_scale],
445
  outputs=[gallery],
446
- examples_per_page=10,
447
  cache_examples=False)
448
  ex.dataset.headers = [""]
449
  negative.submit(infer, inputs=[text, negative, width, height, sampler, steps, seed, guidance_scale],
 
137
  accent-color: #dfdfdf;
138
  }
139
  .container {
140
+ max-width: 1130px;
141
  margin: auto;
142
  padding-top: 1.5rem;
143
  }
 
364
  </h1>
365
  </div>
366
  <p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
367
+ Stable Diffusion 2.1 Demo App. <br />
368
+ Click "Generate image" Button to generate image. <br />
369
  Also Change params to have a try
370
  </p>
371
  </div>
 
443
  ex = gr.Examples(examples=examples, fn=infer,
444
  inputs=[text, negative, width, height, sampler, steps, seed, guidance_scale],
445
  outputs=[gallery],
446
+ examples_per_page=5,
447
  cache_examples=False)
448
  ex.dataset.headers = [""]
449
  negative.submit(infer, inputs=[text, negative, width, height, sampler, steps, seed, guidance_scale],