Spanicin commited on
Commit
0eb5747
·
verified ·
1 Parent(s): 7e5f34c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,8 +233,8 @@ def main(args):
233
 
234
  # base64_lipsync_video = base64.b64encode(video_content).decode('utf-8')
235
 
236
- # video_clip = mp.VideoFileClip(final_video_path)
237
- # duration = video_clip.duration
238
 
239
  app.config['temp_response'] = base64_video
240
  app.config['final_video_path'] = temp_file_path
 
233
 
234
  # base64_lipsync_video = base64.b64encode(video_content).decode('utf-8')
235
 
236
+ video_clip = mp.VideoFileClip(temp_file_path)
237
+ duration = video_clip.duration
238
 
239
  app.config['temp_response'] = base64_video
240
  app.config['final_video_path'] = temp_file_path