sczhou commited on
Commit
8e3b8d4
β€’
1 Parent(s): 806a332

update readme.

Browse files
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -212,11 +212,14 @@ def inference(image, background_enhance, face_upsample, upscale, codeformer_fide
212
 
213
 
214
  title = "CodeFormer: Robust Face Restoration and Enhancement Network"
 
215
  description = r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center>
216
- <b>Official Gradio demo</b> for <a href='https://github.com/sczhou/CodeFormer' target='_blank'><b>Towards Robust Blind Face Restoration with Codebook Lookup Transformer (NeurIPS 2022)</b></a>.<br>
 
217
  πŸ”₯ CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>
218
  πŸ€— Try CodeFormer for improved stable-diffusion generation!<br>
219
  """
 
220
  article = r"""
221
  If CodeFormer is helpful, please help to ⭐ the <a href='https://github.com/sczhou/CodeFormer' target='_blank'>Github Repo</a>. Thanks!
222
  [![GitHub Stars](https://img.shields.io/github/stars/sczhou/CodeFormer?style=social)](https://github.com/sczhou/CodeFormer)
@@ -244,11 +247,19 @@ Redistribution and use for non-commercial purposes should follow this license.
244
 
245
  If you have any questions, please feel free to reach me out at <b>shangchenzhou@gmail.com</b>.
246
 
247
- <div>
248
- πŸ€— Find Me:
249
- <a href="https://twitter.com/ShangchenZhou"><img style="margin-top:0.5em; margin-bottom:0.5em" src="https://img.shields.io/twitter/follow/ShangchenZhou?label=%40ShangchenZhou&style=social" alt="Twitter Follow"></a>
250
- <a href="https://github.com/sczhou"><img style="margin-top:0.5em; margin-bottom:2em" src="https://img.shields.io/github/followers/sczhou?style=social" alt="Github Follow"></a>
251
- </div>
 
 
 
 
 
 
 
 
252
 
253
  <center><img src='https://visitor-badge-sczhou.glitch.me/badge?page_id=sczhou/CodeFormer' alt='visitors'></center>
254
  """
 
212
 
213
 
214
  title = "CodeFormer: Robust Face Restoration and Enhancement Network"
215
+
216
  description = r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center>
217
+ <br>
218
+ <b>Official Gradio demo</b> for <a href='https://github.com/sczhou/CodeFormer' target='_blank'><b>Towards Robust Blind Face Restoration with Codebook Lookup Transformer (NeurIPS 2022)</b></a><br>
219
  πŸ”₯ CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>
220
  πŸ€— Try CodeFormer for improved stable-diffusion generation!<br>
221
  """
222
+
223
  article = r"""
224
  If CodeFormer is helpful, please help to ⭐ the <a href='https://github.com/sczhou/CodeFormer' target='_blank'>Github Repo</a>. Thanks!
225
  [![GitHub Stars](https://img.shields.io/github/stars/sczhou/CodeFormer?style=social)](https://github.com/sczhou/CodeFormer)
 
247
 
248
  If you have any questions, please feel free to reach me out at <b>shangchenzhou@gmail.com</b>.
249
 
250
+ πŸ€— **Find Me:**
251
+ <style type="text/css">
252
+ td {
253
+ padding-right: 0px !important;
254
+ }
255
+ </style>
256
+
257
+ <table>
258
+ <tr>
259
+ <td><a href="https://github.com/sczhou"><img style="margin:-0.8em 0 2em 0" src="https://img.shields.io/github/followers/sczhou?style=social" alt="Github Follow"></a></td>
260
+ <td><a href="https://twitter.com/ShangchenZhou"><img style="margin:-0.8em 0 2em 0" src="https://img.shields.io/twitter/follow/ShangchenZhou?label=%40ShangchenZhou&style=social" alt="Twitter Follow"></a></td>
261
+ </tr>
262
+ </table>
263
 
264
  <center><img src='https://visitor-badge-sczhou.glitch.me/badge?page_id=sczhou/CodeFormer' alt='visitors'></center>
265
  """