Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -108,10 +108,6 @@ def inference(img, version, scale):
|
|
108 |
print('global exception', error)
|
109 |
return None, None
|
110 |
|
111 |
-
custom_css ="
|
112 |
-
.footer {
|
113 |
-
visibility: hidden;
|
114 |
-
}"
|
115 |
title = "Image Upscaling & Restoration(esp. Face)"
|
116 |
description = r"""
|
117 |
Restore your **old photos** or improve **AI-generated faces**.<br>
|
@@ -134,7 +130,7 @@ demo = gr.Interface(
|
|
134 |
title=title,
|
135 |
description=description,
|
136 |
article=article,
|
137 |
-
css=
|
138 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
139 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
140 |
examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])
|
|
|
108 |
print('global exception', error)
|
109 |
return None, None
|
110 |
|
|
|
|
|
|
|
|
|
111 |
title = "Image Upscaling & Restoration(esp. Face)"
|
112 |
description = r"""
|
113 |
Restore your **old photos** or improve **AI-generated faces**.<br>
|
|
|
130 |
title=title,
|
131 |
description=description,
|
132 |
article=article,
|
133 |
+
css="footer {visibility: hidden}"
|
134 |
# examples=[['AI-generate.jpg', 'v1.4', 2, 50], ['lincoln.jpg', 'v1.4', 2, 50], ['Blake_Lively.jpg', 'v1.4', 2, 50],
|
135 |
# ['10045.png', 'v1.4', 2, 50]]).launch()
|
136 |
examples=[['a1.jpg', 'v1.4', 2], ['a2.jpg', 'v1.4', 2], ['a3.jpg', 'v1.4', 2],['a4.jpg', 'v1.4', 2]])
|