Update app.py
Browse files
app.py
CHANGED
|
@@ -109,16 +109,9 @@ def inference(img, version, scale):
|
|
| 109 |
return None, None
|
| 110 |
|
| 111 |
|
| 112 |
-
title = "
|
| 113 |
-
description = r"""
|
| 114 |
-
Practically the algorithm is used to restore your **old photos** or improve **AI-generated faces**.<br>
|
| 115 |
-
To use it, simply just upload the concerned image.<br>
|
| 116 |
-
"""
|
| 117 |
article = r"""
|
| 118 |
-
[](https://github.com/TencentARC/GFPGAN/releases)
|
| 119 |
-
[](https://github.com/TencentARC/GFPGAN)
|
| 120 |
-
[](https://arxiv.org/abs/2101.04061)
|
| 121 |
-
<center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_face_restoration_GFPGAN' alt='visitor badge'></center>
|
| 122 |
"""
|
| 123 |
demo = gr.Interface(
|
| 124 |
inference, [
|
|
@@ -134,6 +127,7 @@ demo = gr.Interface(
|
|
| 134 |
title=title,
|
| 135 |
description=description,
|
| 136 |
article=article,
|
|
|
|
| 137 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
| 138 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
| 139 |
examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])
|
|
|
|
| 109 |
return None, None
|
| 110 |
|
| 111 |
|
| 112 |
+
title = "<span style='color: #191970;'>Aiconvert.online</span>"
|
| 113 |
+
description = r""""""
|
|
|
|
|
|
|
|
|
|
| 114 |
article = r"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"""
|
| 116 |
demo = gr.Interface(
|
| 117 |
inference, [
|
|
|
|
| 127 |
title=title,
|
| 128 |
description=description,
|
| 129 |
article=article,
|
| 130 |
+
css=".gradio-container {background-color: #FFE4C4}"
|
| 131 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
| 132 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
| 133 |
examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])
|