Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def show_traj(mode):
|
|
86 |
def viewcrafter_demo(opts):
|
87 |
css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height:576px} #random_button {max-width: 100px !important}"""
|
88 |
image2video = ViewCrafter(opts, gradio = True)
|
89 |
-
image2video.run_both = spaces.GPU(image2video.run_both, duration=
|
90 |
with gr.Blocks(analytics_enabled=False, css=css) as viewcrafter_iface:
|
91 |
gr.Markdown("<div align='center'> <h1> ViewCrafter: Taming Video Diffusion Models for High-fidelity Novel View Synthesis </span> </h1> \
|
92 |
<h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\
|
|
|
86 |
def viewcrafter_demo(opts):
|
87 |
css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height:576px} #random_button {max-width: 100px !important}"""
|
88 |
image2video = ViewCrafter(opts, gradio = True)
|
89 |
+
image2video.run_both = spaces.GPU(image2video.run_both, duration=290) # fixme
|
90 |
with gr.Blocks(analytics_enabled=False, css=css) as viewcrafter_iface:
|
91 |
gr.Markdown("<div align='center'> <h1> ViewCrafter: Taming Video Diffusion Models for High-fidelity Novel View Synthesis </span> </h1> \
|
92 |
<h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\
|