Spaces:
Sleeping
Sleeping
Commit
•
768a67d
1
Parent(s):
275c5b3
Update app.py
Browse files
app.py
CHANGED
@@ -4,21 +4,11 @@ import gradio as gr
|
|
4 |
|
5 |
def get_video(source_image,driven_audio,preprocess_type,is_still_mode,enhancer):
|
6 |
print('入参:',source_image,driven_audio,preprocess_type,is_still_mode,enhancer)
|
7 |
-
return chinese_poem2.mp4
|
8 |
|
9 |
def sadtalker_demo():
|
10 |
|
11 |
with gr.Blocks(analytics_enabled=False) as sadtalker_interface:
|
12 |
-
gr.Markdown("<div align='center'> <h2> 😭 SadTalker: Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation (CVPR 2023) </span> </h2> \
|
13 |
-
<a style='font-size:18px;color: #efefef' href='https://arxiv.org/abs/2211.12194'>Arxiv</a> \
|
14 |
-
<a style='font-size:18px;color: #efefef' href='https://sadtalker.github.io'>Homepage</a> \
|
15 |
-
<a style='font-size:18px;color: #efefef' href='https://github.com/Winfredy/SadTalker'> Github </div>")
|
16 |
-
|
17 |
-
|
18 |
-
gr.Markdown("""
|
19 |
-
<b>You may duplicate the space and upgrade to GPU in settings for better performance and faster inference without waiting in the queue. <a style='display:inline-block' href="https://huggingface.co/spaces/vinthony/SadTalker?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></b> \
|
20 |
-
<br/><b>Alternatively, try our GitHub <a href=https://github.com/Winfredy/SadTalker> code </a> on your own GPU. </b> <a style='display:inline-block' href="https://github.com/Winfredy/SadTalker"><img src="https://img.shields.io/github/stars/Winfredy/SadTalker?style=social"/></a> \
|
21 |
-
""")
|
22 |
|
23 |
with gr.Row().style(equal_height=False):
|
24 |
with gr.Column(variant='panel'):
|
|
|
4 |
|
5 |
def get_video(source_image,driven_audio,preprocess_type,is_still_mode,enhancer):
|
6 |
print('入参:',source_image,driven_audio,preprocess_type,is_still_mode,enhancer)
|
7 |
+
return "chinese_poem2.mp4"
|
8 |
|
9 |
def sadtalker_demo():
|
10 |
|
11 |
with gr.Blocks(analytics_enabled=False) as sadtalker_interface:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
with gr.Row().style(equal_height=False):
|
14 |
with gr.Column(variant='panel'):
|