Spaces:
Runtime error
Runtime error
Commit
·
bbb21a7
1
Parent(s):
9a96a8f
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,8 +72,11 @@ def inference(img, version, scale):
|
|
| 72 |
print('global exception', error)
|
| 73 |
return None, None
|
| 74 |
|
|
|
|
| 75 |
|
| 76 |
|
|
|
|
|
|
|
| 77 |
|
| 78 |
gr.Interface(
|
| 79 |
inference, [
|
|
@@ -85,5 +88,6 @@ gr.Interface(
|
|
| 85 |
],
|
| 86 |
|
| 87 |
|
| 88 |
-
|
|
|
|
| 89 |
examples=[['1.jpg', 'v1.3', 2]]).launch()
|
|
|
|
| 72 |
print('global exception', error)
|
| 73 |
return None, None
|
| 74 |
|
| 75 |
+
title = "让世界更美"
|
| 76 |
|
| 77 |
|
| 78 |
+
description = "上传老照片,点击Submit,等大约50秒,右侧下方点击 download 下载。"
|
| 79 |
+
|
| 80 |
|
| 81 |
gr.Interface(
|
| 82 |
inference, [
|
|
|
|
| 88 |
],
|
| 89 |
|
| 90 |
|
| 91 |
+
title=title,
|
| 92 |
+
description=description,
|
| 93 |
examples=[['1.jpg', 'v1.3', 2]]).launch()
|