Update app.py
Browse files
app.py
CHANGED
@@ -477,7 +477,7 @@ def add_transcript_voiceover(video_path, translated_json, output_path, add_voice
|
|
477 |
## Need to implmenet backup option.
|
478 |
|
479 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|
480 |
-
futures = [executor.submit(process_entry,
|
481 |
for i, entry in enumerate(translated_json)]
|
482 |
|
483 |
results = []
|
|
|
477 |
## Need to implmenet backup option.
|
478 |
|
479 |
with concurrent.futures.ThreadPoolExecutor() as executor:
|
480 |
+
futures = [executor.submit(process_entry, entry, i, tts_model, video.w, video.h, add_voiceover, target_language, font_path, speaker_sample_paths)
|
481 |
for i, entry in enumerate(translated_json)]
|
482 |
|
483 |
results = []
|