multimodalart HF staff commited on
Commit
77956e4
1 Parent(s): 8157bfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def load_model():
64
  model = load_model()
65
 
66
  # Text-to-video generation function
67
- @spaces.GPU(duration=160)
68
  def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
69
  multiplier = 3
70
  temp = int(duration * multiplier) + 1
 
64
  model = load_model()
65
 
66
  # Text-to-video generation function
67
+ @spaces.GPU(duration=200)
68
  def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guidance_scale=5, progress=gr.Progress(track_tqdm=True)):
69
  multiplier = 3
70
  temp = int(duration * multiplier) + 1