Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -285,44 +285,48 @@ def inference(image, upscale, dec_w, seed, model_type, ddpm_steps, colorfix_type
|
|
285 |
return None, None
|
286 |
|
287 |
with gr.Blocks(title="Exploiting Diffusion Prior for Real-World Image Super-Resolution") as demo:
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
|
|
|
|
|
|
|
|
326 |
|
327 |
with gr.Row():
|
328 |
with gr.Column():
|
|
|
285 |
return None, None
|
286 |
|
287 |
with gr.Blocks(title="Exploiting Diffusion Prior for Real-World Image Super-Resolution") as demo:
|
288 |
+
gr.Markdown(
|
289 |
+
"""
|
290 |
+
<center><img src='https://user-images.githubusercontent.com/22350795/236680126-0b1cdd62-d6fc-4620-b998-75ed6c31bf6f.png' style='height:40px' alt='StableSR logo'></center>
|
291 |
+
<b>Official Gradio demo</b> for <a href='https://github.com/IceClear/StableSR' target='_blank'><b>Exploiting Diffusion Prior for Real-World Image Super-Resolution</b></a>.<br>
|
292 |
+
π₯ StableSR is a general image super-resolution algorithm for real-world and AIGC images.<br>
|
293 |
+
"""
|
294 |
+
)
|
295 |
+
|
296 |
+
gr.Markdown(
|
297 |
+
"""
|
298 |
+
If StableSR is helpful, please help to β the <a href='https://github.com/IceClear/StableSR' target='_blank'>Github Repo</a>. Thanks!
|
299 |
+
[](https://github.com/IceClear/StableSR)
|
300 |
+
---
|
301 |
+
|
302 |
+
π **Citation**
|
303 |
+
If our work is useful for your research, please consider citing:
|
304 |
+
|
305 |
+
```
|
306 |
+
@article{wang2024exploiting,
|
307 |
+
author = {Wang, Jianyi and Yue, Zongsheng and Zhou, Shangchen and Chan, Kelvin C.K. and Loy, Chen Change},
|
308 |
+
title = {Exploiting Diffusion Prior for Real-World Image Super-Resolution},
|
309 |
+
article = {International Journal of Computer Vision},
|
310 |
+
year = {2024}
|
311 |
+
}
|
312 |
+
```
|
313 |
+
|
314 |
+
π **License**
|
315 |
+
This project is licensed under <a rel="license" href="https://github.com/IceClear/StableSR/blob/main/LICENSE.txt">S-Lab License 1.0</a>.
|
316 |
+
Redistribution and use for non-commercial purposes should follow this license.
|
317 |
+
|
318 |
+
π§ **Contact**
|
319 |
+
If you have any questions, please feel free to reach me out at <b>iceclearwjy@gmail.com</b>.
|
320 |
+
|
321 |
+
<div>
|
322 |
+
π€ Find Me:
|
323 |
+
<a href="https://twitter.com/Iceclearwjy"><img style="margin-top:0.5em; margin-bottom:0.5em" src="https://img.shields.io/twitter/follow/Iceclearwjy?label=%40Iceclearwjy&style=social" alt="Twitter Follow"></a>
|
324 |
+
<a href="https://github.com/IceClear"><img style="margin-top:0.5em; margin-bottom:2em" src="https://img.shields.io/github/followers/IceClear?style=social" alt="Github Follow"></a>
|
325 |
+
</div>
|
326 |
+
|
327 |
+
<center><img src='https://visitor-badge.laobi.icu/badge?page_id=IceClear/StableSR' alt='visitors'></center>
|
328 |
+
"""
|
329 |
+
)
|
330 |
|
331 |
with gr.Row():
|
332 |
with gr.Column():
|