Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ 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 |
# <div align='center'>
|
@@ -107,7 +107,7 @@ def trajcrafter_demo(opts):
|
|
107 |
gr.Markdown(
|
108 |
"""
|
109 |
<div align='center'>
|
110 |
-
<h1> TrajectoryCrafter: Redirecting
|
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>\
|
@@ -301,8 +301,7 @@ def trajcrafter_demo(opts):
|
|
301 |
gr.Markdown(
|
302 |
"""
|
303 |
<span style='font-size:18px;color: #E7CCCC'>Note:
|
304 |
-
For time quota consideration, we set the
|
305 |
-
with a trade-off of shorter video length and slightly lower quality.
|
306 |
You may adjust the parameters according to our
|
307 |
<a style='font-size:18px;color: #FF5DB0' href='https://github.com/TrajectoryCrafter/TrajectoryCrafter'>[Github Repo]</a>
|
308 |
for better results if you have enough time quota.
|
|
|
92 |
}
|
93 |
"""
|
94 |
image2video = TrajCrafter(opts,gradio=True)
|
95 |
+
image2video.run_gradio = spaces.GPU(image2video.run_gradio, duration=300) # fixme
|
96 |
with gr.Blocks(analytics_enabled=False, css=css) as trajcrafter_iface:
|
97 |
# gr.Markdown("""
|
98 |
# <div align='center'>
|
|
|
107 |
gr.Markdown(
|
108 |
"""
|
109 |
<div align='center'>
|
110 |
+
<h1> TrajectoryCrafter: Redirecting Camera 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>\
|
|
|
301 |
gr.Markdown(
|
302 |
"""
|
303 |
<span style='font-size:18px;color: #E7CCCC'>Note:
|
304 |
+
For time quota consideration, we set the sampling steps to be more efficient here.
|
|
|
305 |
You may adjust the parameters according to our
|
306 |
<a style='font-size:18px;color: #FF5DB0' href='https://github.com/TrajectoryCrafter/TrajectoryCrafter'>[Github Repo]</a>
|
307 |
for better results if you have enough time quota.
|