Update app.py
Browse files
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
|