jonathanjordan21 commited on
Commit
feb8f3f
·
1 Parent(s): 0ccc722

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def pred(product_name, orientation):
39
  vid = os.path.join(folder_name,"Final_Ad_Video.mp4")
40
  spe = "x.wav"
41
 
42
- utils.combine_audio_video(folder_name, vid, spe)
43
  return ["\n".join(sentences), os.path.join(folder_name, "new_filename.mp4")]
44
  #{'video':os.path.join(folder_name, "Final_Ad_Video.mp4"),
45
  # 'captions':"\n".join(sentences)}
 
39
  vid = os.path.join(folder_name,"Final_Ad_Video.mp4")
40
  spe = "x.wav"
41
 
42
+ utils.combine_audio_video(folder_name, vid, spe, sentences, length_speech)
43
  return ["\n".join(sentences), os.path.join(folder_name, "new_filename.mp4")]
44
  #{'video':os.path.join(folder_name, "Final_Ad_Video.mp4"),
45
  # 'captions':"\n".join(sentences)}