Update app.py
Browse files
app.py
CHANGED
|
@@ -84,22 +84,9 @@ def inference(img, version, scale):
|
|
| 84 |
return None, None
|
| 85 |
|
| 86 |
|
| 87 |
-
title = "GFPGAN
|
| 88 |
-
description =
|
| 89 |
-
It can be used to restore your **old photos** or improve **AI-generated faces**.<br>
|
| 90 |
-
To use it, simply upload your image.<br>
|
| 91 |
-
If GFPGAN is helpful, please help to ⭐ the <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>Github Repo</a> and recommend it to your friends 😊
|
| 92 |
-
"""
|
| 93 |
-
article = r"""
|
| 94 |
|
| 95 |
-
[](https://github.com/TencentARC/GFPGAN/releases)
|
| 96 |
-
[](https://github.com/TencentARC/GFPGAN)
|
| 97 |
-
[](https://arxiv.org/abs/2101.04061)
|
| 98 |
-
|
| 99 |
-
If you have any question, please email 📧 `xintao.wang@outlook.com` or `xintaowang@tencent.com`.
|
| 100 |
-
|
| 101 |
-
<center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>
|
| 102 |
-
"""
|
| 103 |
gr.Interface(
|
| 104 |
inference, [
|
| 105 |
gr.inputs.Image(type="filepath", label="Input"),
|
|
|
|
| 84 |
return None, None
|
| 85 |
|
| 86 |
|
| 87 |
+
title = "GFPGAN"
|
| 88 |
+
description = ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
gr.Interface(
|
| 91 |
inference, [
|
| 92 |
gr.inputs.Image(type="filepath", label="Input"),
|