Iceclear commited on
Commit
927da4e
·
verified ·
1 Parent(s): f0699dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -278,8 +278,11 @@ def inference(image, upscale, dec_w, seed, model_type, ddpm_steps, colorfix_type
278
  with gr.Blocks(title="Exploiting Diffusion Prior for Real-World Image Super-Resolution") as demo:
279
  gr.HTML(
280
  """
 
 
 
 
281
  <div style='text-align: center;'>
282
- <img src='https://user-images.githubusercontent.com/22350795/236680126-0b1cdd62-d6fc-4620-b998-75ed6c31bf6f.png' style='height:40px' alt='StableSR logo'>
283
  <h2>Exploiting Diffusion Prior for Real-World Image Super-Resolution</h2>
284
  <p><strong>Official Gradio demo</strong> for <a href='https://github.com/IceClear/StableSR' target='_blank'>StableSR</a>.<br>
285
  🔥 StableSR is a general image super-resolution algorithm for real-world and AIGC images.</p>
@@ -296,7 +299,7 @@ with gr.Blocks(title="Exploiting Diffusion Prior for Real-World Image Super-Reso
296
  </a>
297
  <hr>
298
  <h4>Citation</h4>
299
- <pre style="white-space: pre-wrap; background: #f7f7f7; padding: 1em; border-radius: 5px;">
300
  @article{wang2024exploiting,
301
  author = {Wang, Jianyi and Yue, Zongsheng and Zhou, Shangchen and Chan, Kelvin C.K. and Loy, Chen Change},
302
  title = {Exploiting Diffusion Prior for Real-World Image Super-Resolution},
 
278
  with gr.Blocks(title="Exploiting Diffusion Prior for Real-World Image Super-Resolution") as demo:
279
  gr.HTML(
280
  """
281
+ <div style="display: flex; justify-content: center; align-items: center; height: 40px;">
282
+ <img src="https://user-images.githubusercontent.com/22350795/236680126-0b1cdd62-d6fc-4620-b998-75ed6c31bf6f.png"
283
+ alt="StableSR logo">
284
+ </div>
285
  <div style='text-align: center;'>
 
286
  <h2>Exploiting Diffusion Prior for Real-World Image Super-Resolution</h2>
287
  <p><strong>Official Gradio demo</strong> for <a href='https://github.com/IceClear/StableSR' target='_blank'>StableSR</a>.<br>
288
  🔥 StableSR is a general image super-resolution algorithm for real-world and AIGC images.</p>
 
299
  </a>
300
  <hr>
301
  <h4>Citation</h4>
302
+ <pre style="white-space: pre-wrap; background: #c7c7c7; padding: 1em; border-radius: 5px;">
303
  @article{wang2024exploiting,
304
  author = {Wang, Jianyi and Yue, Zongsheng and Zhou, Shangchen and Chan, Kelvin C.K. and Loy, Chen Change},
305
  title = {Exploiting Diffusion Prior for Real-World Image Super-Resolution},