Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,18 +92,30 @@ def trajcrafter_demo(opts):
|
|
| 92 |
}
|
| 93 |
"""
|
| 94 |
image2video = TrajCrafter(opts,gradio=True)
|
| 95 |
-
image2video.run_gradio = spaces.GPU(image2video.run_gradio, duration=
|
| 96 |
with gr.Blocks(analytics_enabled=False, css=css) as trajcrafter_iface:
|
| 97 |
-
gr.Markdown("""
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
""")
|
| 106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
with gr.Row(equal_height=True):
|
| 109 |
with gr.Column():
|
|
|
|
| 92 |
}
|
| 93 |
"""
|
| 94 |
image2video = TrajCrafter(opts,gradio=True)
|
| 95 |
+
image2video.run_gradio = spaces.GPU(image2video.run_gradio, duration=10) # fixme
|
| 96 |
with gr.Blocks(analytics_enabled=False, css=css) as trajcrafter_iface:
|
| 97 |
+
# gr.Markdown("""
|
| 98 |
+
# <div align='center'>
|
| 99 |
+
# <h1>TrajectoryCrafter: Redirecting View Trajectory for Monocular Videos via Diffusion Models</h1>
|
| 100 |
+
# <a style='font-size:18px;color: #FF5DB0' href='https://github.com/TrajectoryCrafter/TrajectoryCrafter'>[Github]</a>
|
| 101 |
+
# <a style='font-size:18px;color: #000000' href='https://arxiv.org/abs/2409.02048'>[ArXiv]</a>
|
| 102 |
+
# <a style='font-size:18px;color: #000000' href='https://trajectorycrafter.github.io/'>[Project Page]</a>
|
| 103 |
+
# <a style='font-size:18px;color: #000000' href='https://www.youtube.com/watch?v=dQtHFgyrids'>[Video]</a>
|
| 104 |
+
# </div>
|
| 105 |
+
# """)
|
| 106 |
|
| 107 |
+
gr.Markdown(
|
| 108 |
+
"""
|
| 109 |
+
<div align='center'>
|
| 110 |
+
<h1> TrajectoryCrafter: Redirecting View Trajectory for Monocular Videos via Diffusion Models </span> </h1> \
|
| 111 |
+
<a style='font-size:18px;color: #000000'>If you find TrajectoryCrafter useful, please help ⭐ the </a>\
|
| 112 |
+
<a style='font-size:18px;color: #FF5DB0' href='https://github.com/TrajectoryCrafter/TrajectoryCrafter'>[Github Repo]</a>\
|
| 113 |
+
<a style='font-size:18px;color: #000000'>, which is important to Open-Source projects. Thanks!</a>\
|
| 114 |
+
<a style='font-size:18px;color: #000000' href='https://arxiv.org/abs/2409.02048'> [ArXiv] </a>\
|
| 115 |
+
<a style='font-size:18px;color: #000000' href='https://trajectorycrafter.github.io/'> [Project Page] </a> </div>
|
| 116 |
+
"""
|
| 117 |
+
)
|
| 118 |
+
|
| 119 |
|
| 120 |
with gr.Row(equal_height=True):
|
| 121 |
with gr.Column():
|