Spaces:
Build error
Build error
Commit
·
d093aa4
1
Parent(s):
04449f8
Update app.py
Browse files
app.py
CHANGED
@@ -13,12 +13,7 @@ os.system("wget -c https://cloud.tsinghua.edu.cn/f/da8d61d012014b12a9e4/?dl=1 -O
|
|
13 |
|
14 |
|
15 |
|
16 |
-
title = "#
|
17 |
-
DESCRIPTION = '''### Gradio demo for <b>Thin-Plate Spline Motion Model for Image Animation</b>, CVPR 2022. <a href='https://arxiv.org/abs/2203.14367'>[Paper]</a><a href='https://github.com/yoyo-nb/Thin-Plate-Spline-Motion-Model'>[Github Code]</a>
|
18 |
-
|
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:
|
@@ -58,8 +53,6 @@ def inference(img,vid):
|
|
58 |
|
59 |
def main():
|
60 |
with gr.Blocks(theme="huggingface", css='style.css') as demo:
|
61 |
-
gr.Markdown(title)
|
62 |
-
gr.Markdown(DESCRIPTION)
|
63 |
|
64 |
with gr.Box():
|
65 |
gr.Markdown('''## Step 1 (Provide Input Face Image)
|
|
|
13 |
|
14 |
|
15 |
|
16 |
+
title = "# 表情驱动"
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
|
19 |
def get_style_image_path(style_name: str) -> str:
|
|
|
53 |
|
54 |
def main():
|
55 |
with gr.Blocks(theme="huggingface", css='style.css') as demo:
|
|
|
|
|
56 |
|
57 |
with gr.Box():
|
58 |
gr.Markdown('''## Step 1 (Provide Input Face Image)
|