multimodalart HF staff commited on
Commit
d7d3e4f
1 Parent(s): 6bd188d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def load_model():
61
  model = load_model()
62
 
63
  # Text-to-video generation function
64
- @spaces.GPU(duration=120)
65
  def generate_video(prompt, image=None, duration=3, guidance_scale=9, video_guidance_scale=5, frames_per_second=8, progress=gr.Progress(track_tqdm=True)):
66
  multiplier = 1.2 if is_canonical else 3.0
67
  temp = int(duration * multiplier) + 1
 
61
  model = load_model()
62
 
63
  # Text-to-video generation function
64
+ @spaces.GPU(duration=140)
65
  def generate_video(prompt, image=None, duration=3, guidance_scale=9, video_guidance_scale=5, frames_per_second=8, progress=gr.Progress(track_tqdm=True)):
66
  multiplier = 1.2 if is_canonical else 3.0
67
  temp = int(duration * multiplier) + 1