Drexubery commited on
Commit
4666e8f
·
1 Parent(s): 33fe5f3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def show_traj(mode):
93
  def viewcrafter_demo(opts):
94
  css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height:576px} #random_button {max-width: 100px !important}"""
95
  image2video = ViewCrafter(opts, gradio = True)
96
- image2video.run_both = spaces.GPU(image2video.run_gen, duration=300) # fixme
97
  with gr.Blocks(analytics_enabled=False, css=css) as viewcrafter_iface:
98
  gr.Markdown("<div align='center'> <h1> ViewCrafter: Taming Video Diffusion Models for High-fidelity Novel View Synthesis </span> </h1> \
99
  <h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\
 
93
  def viewcrafter_demo(opts):
94
  css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height:576px} #random_button {max-width: 100px !important}"""
95
  image2video = ViewCrafter(opts, gradio = True)
96
+ image2video.run_both = spaces.GPU(image2video.run_both, duration=300) # fixme
97
  with gr.Blocks(analytics_enabled=False, css=css) as viewcrafter_iface:
98
  gr.Markdown("<div align='center'> <h1> ViewCrafter: Taming Video Diffusion Models for High-fidelity Novel View Synthesis </span> </h1> \
99
  <h2 style='font-weight: 450; font-size: 1rem; margin: 0rem'>\