sczhou commited on
Commit
1fb2362
Β·
1 Parent(s): 37e4140

update readme.

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. app.py +9 -4
README.md CHANGED
@@ -2,7 +2,7 @@
2
  <img src="assets/CodeFormer_logo.png" height=110>
3
  </p>
4
 
5
- ## Towards Robust Blind Face Restoration with Codebook Lookup Transformer
6
 
7
  [Paper](https://arxiv.org/abs/2206.11253) | [Project Page](https://shangchenzhou.com/projects/CodeFormer/) | [Video](https://youtu.be/d3VDpkXlueI)
8
 
@@ -105,10 +105,10 @@ The results will be saved in the `results` folder.
105
  ### Citation
106
  If our work is useful for your research, please consider citing:
107
 
108
- @article{zhou2022codeformer,
109
  author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
110
  title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
111
- journal = {arXiv preprint arXiv:2206.11253},
112
  year = {2022}
113
  }
114
 
 
2
  <img src="assets/CodeFormer_logo.png" height=110>
3
  </p>
4
 
5
+ ## Towards Robust Blind Face Restoration with Codebook Lookup Transformer (NeurIPS 2022)
6
 
7
  [Paper](https://arxiv.org/abs/2206.11253) | [Project Page](https://shangchenzhou.com/projects/CodeFormer/) | [Video](https://youtu.be/d3VDpkXlueI)
8
 
 
105
  ### Citation
106
  If our work is useful for your research, please consider citing:
107
 
108
+ @inproceedings{zhou2022codeformer,
109
  author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
110
  title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
111
+ booktitle = {NeurIPS},
112
  year = {2022}
113
  }
114
 
app.py CHANGED
@@ -194,7 +194,7 @@ def inference(image, background_enhance, face_upsample, upscale, codeformer_fide
194
 
195
  title = "CodeFormer: Robust Face Restoration and Enhancement Network"
196
  description = r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center>
197
- <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</b></a>.<br>
198
  πŸ”₯ CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>
199
  πŸ€— Try CodeFormer for improved stable-diffusion generation!<br>
200
  """
@@ -208,14 +208,19 @@ If CodeFormer is helpful, please help to ⭐ the <a href='https://github.com/scz
208
 
209
  If our work is useful for your research, please consider citing:
210
  ```bibtex
211
- @article{zhou2022codeformer,
212
  author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
213
  title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
214
- journal = {arXiv preprint arXiv:2206.11253},
215
  year = {2022}
216
  }
217
  ```
218
 
 
 
 
 
 
219
  πŸ“§ **Contact**
220
 
221
  If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
@@ -243,4 +248,4 @@ gr.Interface(
243
  ['04.jpg', True, True, 2, 0.1],
244
  ['05.jpg', True, True, 2, 0.1]
245
  ]
246
- ).launch()
 
194
 
195
  title = "CodeFormer: Robust Face Restoration and Enhancement Network"
196
  description = r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center>
197
+ <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>
198
  πŸ”₯ CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>
199
  πŸ€— Try CodeFormer for improved stable-diffusion generation!<br>
200
  """
 
208
 
209
  If our work is useful for your research, please consider citing:
210
  ```bibtex
211
+ @inproceedings{zhou2022codeformer,
212
  author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},
213
  title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},
214
+ booktitle = {NeurIPS},
215
  year = {2022}
216
  }
217
  ```
218
 
219
+ πŸ“‹ **License**
220
+
221
+ This project is licensed under <a rel="license" href="https://github.com/sczhou/CodeFormer/blob/master/LICENSE">S-Lab License 1.0</a>.
222
+ Redistribution and use for non-commercial purposes should follow this license.
223
+
224
  πŸ“§ **Contact**
225
 
226
  If you have any questions, please feel free to reach me out at <b>[email protected]</b>.
 
248
  ['04.jpg', True, True, 2, 0.1],
249
  ['05.jpg', True, True, 2, 0.1]
250
  ]
251
+ ).launch()