Spaces:
Build error
Build error
Pie31415
commited on
Commit
·
0b77a39
1
Parent(s):
609fa44
updated app
Browse files
app.py
CHANGED
|
@@ -198,36 +198,16 @@ def video_inference(
|
|
| 198 |
|
| 199 |
return "avatar.gif"
|
| 200 |
|
| 201 |
-
with gr.Blocks() as demo:
|
| 202 |
-
gr.Markdown("# **<p align='center'>ROME: Realistic one-shot mesh-based head avatars</p>**")
|
| 203 |
-
|
| 204 |
-
gr.HTML(
|
| 205 |
-
"""
|
| 206 |
-
<div style='text-align: center'>
|
| 207 |
-
<img src='file/media/tease.gif' alt='Teaser'>
|
| 208 |
-
</div>
|
| 209 |
-
"""
|
| 210 |
-
)
|
| 211 |
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
Create a personal avatar from just a single image using ROME.
|
| 216 |
-
<br> <a href='https://arxiv.org/abs/2206.08343' target='_blank'>Paper</a> | <a href='https://samsunglabs.github.io/rome' target='_blank'>Project Page</a> | <a href='https://github.com/SamsungLabs/rome' target='_blank'>Github</a>
|
| 217 |
-
</p>
|
| 218 |
-
"""
|
| 219 |
-
)
|
| 220 |
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
photo. These avatars are rigged, i.e., they can be driven by the animation parameters from a different <strong>driving</strong> frame.
|
| 227 |
-
</blockquote>
|
| 228 |
-
</p>
|
| 229 |
-
"""
|
| 230 |
-
)
|
| 231 |
|
| 232 |
with gr.Tab("Image Inference"):
|
| 233 |
with gr.Row():
|
|
|
|
| 198 |
|
| 199 |
return "avatar.gif"
|
| 200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
+
teaser = "<p style='text-align: center'> <img src='file/media/tease.gif' alt='Teaser'> </p>"
|
| 203 |
+
description = "<p style='text-align: center'> Create a personal avatar from just a single image using ROME. <br> <a href='https://arxiv.org/abs/2206.08343' target='_blank'>Paper</a> | <a href='https://samsunglabs.github.io/rome' target='_blank'>Project Page</a> | <a href='https://github.com/SamsungLabs/rome' target='_blank'>Github</a> </p>"
|
| 204 |
+
quote = "<p style='text-align: center'> <blockquote> [The] system creates realistic mesh-based avatars from a single <strong>source</strong> photo. These avatars are rigged, i.e., they can be driven by the animation parameters from a different <strong>driving</strong> frame. </blockquote> </p>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
+
with gr.Blocks() as demo:
|
| 207 |
+
gr.Markdown("# **<p align='center'>ROME: Realistic one-shot mesh-based head avatars</p>**")
|
| 208 |
+
gr.HTML(teaser)
|
| 209 |
+
gr.Markdown(description)
|
| 210 |
+
gr.HTML(quote)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
|
| 212 |
with gr.Tab("Image Inference"):
|
| 213 |
with gr.Row():
|