Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,12 @@ DESCRIPTION = '''### 图片动画的Gradio实现</b>, CVPR 2022. <a href='https:
|
|
| 19 |
<img id="overview" alt="overview" src="https://github.com/yoyo-nb/Thin-Plate-Spline-Motion-Model/raw/main/assets/vox.gif" />
|
| 20 |
'''
|
| 21 |
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=gradio-blocks.Image-Animation-using-Thin-Plate-Spline-Motion-Model" />'
|
|
|
|
|
|
|
|
|
|
| 22 |
|
|
|
|
|
|
|
| 23 |
|
| 24 |
def get_style_image_path(style_name: str) -> str:
|
| 25 |
base_path = 'assets'
|
|
|
|
| 19 |
<img id="overview" alt="overview" src="https://github.com/yoyo-nb/Thin-Plate-Spline-Motion-Model/raw/main/assets/vox.gif" />
|
| 20 |
'''
|
| 21 |
FOOTER = '<img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.glitch.me/badge?page_id=gradio-blocks.Image-Animation-using-Thin-Plate-Spline-Motion-Model" />'
|
| 22 |
+
ARTICLE = r"""
|
| 23 |
+
---
|
| 24 |
+
<h2 style="font-weight: 900; margin-bottom: 7px;">点击<a href='https://www.toolchest.cn' target='_blank'>返回智能工具箱</a>查看更多好玩的人工智能项目</h2>
|
| 25 |
|
| 26 |
+
```
|
| 27 |
+
"""
|
| 28 |
|
| 29 |
def get_style_image_path(style_name: str) -> str:
|
| 30 |
base_path = 'assets'
|