sreepathi-ravikumar commited on
Commit
a47e779
·
verified ·
1 Parent(s): b074522

Update video2.py

Browse files
Files changed (1) hide show
  1. video2.py +1 -3
video2.py CHANGED
@@ -329,9 +329,7 @@ from moviepy.video.fx.speedx import speedx
329
 
330
  # video.py
331
  def video_func(id, lines, lang):
332
- #duration, audio_path = audio_func(id, lines, lang)
333
- duration=100
334
- audio_path="Sample.mp3"
335
  if not duration or not audio_path:
336
  print("Failed to generate audio.")
337
  return None
 
329
 
330
  # video.py
331
  def video_func(id, lines, lang):
332
+ duration, audio_path = audio_func(id, lines, lang)
 
 
333
  if not duration or not audio_path:
334
  print("Failed to generate audio.")
335
  return None