Update app.py
Browse files
app.py
CHANGED
|
@@ -354,15 +354,9 @@ def run(source, action_source, hair_source, top_source, bottom_source, target, a
|
|
| 354 |
return 'demo.gif'
|
| 355 |
|
| 356 |
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
gr.Markdown(
|
| 361 |
-
"""
|
| 362 |
-
# TranSVAE for Unsupervised Video Domain Adaptation
|
| 363 |
-
A demo.
|
| 364 |
-
""")
|
| 365 |
-
inp = [
|
| 366 |
gr.Markdown(
|
| 367 |
"""
|
| 368 |
π¦π» Human - Source Avatar
|
|
@@ -382,43 +376,11 @@ with demo:
|
|
| 382 |
gr.Radio(choices=["grey", "khaki", "linen", "ocre"], value="ocre"),
|
| 383 |
gr.Radio(choices=["denim", "olive", "brown"], value="brown"),
|
| 384 |
],
|
| 385 |
-
|
| 386 |
gr.components.Image(type="file", label="Domain Disentanglement"),
|
| 387 |
],
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
demo.launch()
|
| 395 |
-
|
| 396 |
-
#gr.Interface(
|
| 397 |
-
# fn=run,
|
| 398 |
-
# inputs=[
|
| 399 |
-
# gr.Markdown(
|
| 400 |
-
# """
|
| 401 |
-
# π¦π» Human - Source Avatar
|
| 402 |
-
# """
|
| 403 |
-
# ),
|
| 404 |
-
# gr.Radio(choices=["slash", "spellcard", "walk"], value="slash"),
|
| 405 |
-
# gr.Radio(choices=["green", "yellow", "rose", "red", "wine"], value="green"),
|
| 406 |
-
# gr.Radio(choices=["brown", "blue", "white"], value="brown"),
|
| 407 |
-
# gr.Radio(choices=["white", "golden", "red", "silver"], value="white"),
|
| 408 |
-
# gr.Markdown(
|
| 409 |
-
# """
|
| 410 |
-
# π½ Alien - Target Avatar
|
| 411 |
-
# """
|
| 412 |
-
# ),
|
| 413 |
-
# gr.Radio(choices=["slash", "spellcard", "walk"], value="walk"),
|
| 414 |
-
# gr.Radio(choices=["violet", "silver", "purple", "grey", "golden"], value="golden"),
|
| 415 |
-
# gr.Radio(choices=["grey", "khaki", "linen", "ocre"], value="ocre"),
|
| 416 |
-
# gr.Radio(choices=["denim", "olive", "brown"], value="brown"),
|
| 417 |
-
# ],
|
| 418 |
-
# outputs=[
|
| 419 |
-
# gr.components.Image(type="file", label="Domain Disentanglement"),
|
| 420 |
-
# ],
|
| 421 |
-
# live=False,
|
| 422 |
-
# cache_examples=True,
|
| 423 |
-
# title="TranSVAE for Unsupervised Video Domain Adaptation",
|
| 424 |
-
#).launch()
|
|
|
|
| 354 |
return 'demo.gif'
|
| 355 |
|
| 356 |
|
| 357 |
+
gr.Interface(
|
| 358 |
+
fn=run,
|
| 359 |
+
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 360 |
gr.Markdown(
|
| 361 |
"""
|
| 362 |
π¦π» Human - Source Avatar
|
|
|
|
| 376 |
gr.Radio(choices=["grey", "khaki", "linen", "ocre"], value="ocre"),
|
| 377 |
gr.Radio(choices=["denim", "olive", "brown"], value="brown"),
|
| 378 |
],
|
| 379 |
+
outputs=[
|
| 380 |
gr.components.Image(type="file", label="Domain Disentanglement"),
|
| 381 |
],
|
| 382 |
+
live=False,
|
| 383 |
+
cache_examples=True,
|
| 384 |
+
title="TranSVAE for Unsupervised Video Domain Adaptation",
|
| 385 |
+
description="Project Page: https://ldkong.com/TranSVAE"
|
| 386 |
+
).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|