qqwjq1981 commited on
Commit
26e6a2b
·
verified ·
1 Parent(s): 76d739a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -393,7 +393,7 @@ def add_transcript_voiceover(video_path, translated_json, output_path, add_voice
393
  audio_segments = []
394
 
395
  with concurrent.futures.ThreadPoolExecutor() as executor:
396
- futures = [executor.submit(process_entry, entry, i, video.w, video.h, add_voiceover, target_language, speaker_sample_paths)
397
  for i, entry in enumerate(translated_json)]
398
 
399
  # Collect results with original index i
 
393
  audio_segments = []
394
 
395
  with concurrent.futures.ThreadPoolExecutor() as executor:
396
+ futures = [executor.submit(process_entry, entry, i, video.w, video.h, add_voiceover, target_language, font_path, speaker_sample_paths)
397
  for i, entry in enumerate(translated_json)]
398
 
399
  # Collect results with original index i