qqwjq1981 commited on
Commit
b263264
·
verified ·
1 Parent(s): 8cdd6ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -326,7 +326,7 @@ def process_entry(entry, i, video_width, video_height, add_voiceover, target_lan
326
  desired_duration = entry["end"] - entry["start"]
327
  speaker_id = entry["speaker"] # Extract the speaker ID
328
  speaker_wav_path = f"speaker_{speaker_id}_sample.wav" # pass the intermediate value to prevent from breaking.
329
- generate_voiceover_clone([entry], desired_duration, target_language, speaker_wav_path, segment_audio_path):
330
 
331
  audio_clip = AudioFileClip(segment_audio_path)
332
  # Get and log all methods in AudioFileClip
 
326
  desired_duration = entry["end"] - entry["start"]
327
  speaker_id = entry["speaker"] # Extract the speaker ID
328
  speaker_wav_path = f"speaker_{speaker_id}_sample.wav" # pass the intermediate value to prevent from breaking.
329
+ generate_voiceover_clone([entry], desired_duration, target_language, speaker_wav_path, segment_audio_path)
330
 
331
  audio_clip = AudioFileClip(segment_audio_path)
332
  # Get and log all methods in AudioFileClip