EvanTHU commited on
Commit
02add35
·
verified ·
1 Parent(s): 368f935

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def generate_video_from_text(text, opt, pipeline):
144
  width = 500
145
  height = 500
146
  texts = [text]
147
- motion_lens = [opt.motion_length * opt.fps for _ in range(opt.num_samples)]
148
 
149
  save_dir = 'temp/'
150
  filename = generate_md5(str(time.time())) + ".gif"
 
144
  width = 500
145
  height = 500
146
  texts = [text]
147
+ motion_lens = [opt.motion_length * opt.fps]
148
 
149
  save_dir = 'temp/'
150
  filename = generate_md5(str(time.time())) + ".gif"