Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,10 +109,7 @@ def inference(img, version, scale):
|
|
109 |
|
110 |
|
111 |
title = "GFPGAN: Practical Face Restoration Algorithm"
|
112 |
-
description = r"""
|
113 |
-
It can be used to restore your **old photos** or improve **AI-generated faces**.<br>
|
114 |
-
To use it, simply upload your image.<br>
|
115 |
-
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 😊
|
116 |
"""
|
117 |
article = r"""
|
118 |
|
@@ -141,7 +138,7 @@ demo = gr.Interface(
|
|
141 |
article=article,
|
142 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
143 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
144 |
-
examples=[['AI-generate.jpg', 'v1.4', 2], ['lincoln.jpg', 'v1.4', 2], ['Blake_Lively.jpg', 'v1.4', 2],
|
145 |
['10045.png', 'v1.4', 2]])
|
146 |
demo.queue(concurrency_count=4)
|
147 |
demo.launch()
|
|
|
109 |
|
110 |
|
111 |
title = "GFPGAN: Practical Face Restoration Algorithm"
|
112 |
+
description = r"""😊
|
|
|
|
|
|
|
113 |
"""
|
114 |
article = r"""
|
115 |
|
|
|
138 |
article=article,
|
139 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
140 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
141 |
+
#examples=[['AI-generate.jpg', 'v1.4', 2], ['lincoln.jpg', 'v1.4', 2], ['Blake_Lively.jpg', 'v1.4', 2],
|
142 |
['10045.png', 'v1.4', 2]])
|
143 |
demo.queue(concurrency_count=4)
|
144 |
demo.launch()
|