Spaces:
Runtime error
Runtime error
Update app.py
Browse files222 unmodified lines223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279222 unmodified linesreturn None, Nonetitle = "CodeFormer: Robust Face Restoration and Enhancement Network"description = r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center><br><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>🔥 CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>🤗 Try CodeFormer for improved stable-diffusion generation!<br>"""article = r"""If CodeFormer is helpful, please help to ⭐ the <a href='https://github.com/sczhou/CodeFormer' target='_blank'>Github Repo</a>. Thanks](https://github.com/sczhou/CodeFormer)---📝 **Citation**If our work is useful for your research, please consider citing:```bibtex@inproceedings{zhou2022codeformer,author = {Zhou, Shangchen and Chan, Kelvin C.K. and Li, Chongyi and Loy, Chen Change},title = {Towards Robust Blind Face Restoration with Codebook Lookup TransFormer},booktitle = {NeurIPS},year = {2022}}```📋 **License**This project is licensed under <a rel="license" href="https://github.com/sczhou/CodeFormer/blob/master/LICENSE">S-Lab License 1.0</a>.Redistribution and use for non-commercial purposes should follow this license.📧 **Contact**If you have any questions, please feel free to reach me out at <b>shangchenzhou@gmail.com</b>.🤗 **Find Me:**<style type="text/css">td {padding-right: 0px !important;}</style><table><tr><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><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></tr></table><center><img src='https://api.infinitescript.com/badgen/count?name=sczhou/CodeFormer<ext=Visitors&color=6dc9aa' alt='visitors'></center>"""demo = gr.Interface(222 unmodified lines223224225226227228229230231232233234222 unmodified linesreturn None, Nonetitle = "人脸恢复与增强"description = r""""""article = r""""""demo = gr.Interface(
app.py+2-47