Update app.py
Browse files
app.py
CHANGED
@@ -476,7 +476,7 @@ def upload_and_manage(file, target_language, mode="transcription"):
|
|
476 |
|
477 |
# Step 3: Add transcript to video based on timestamps
|
478 |
logger.info("Adding translated transcript to video...")
|
479 |
-
add_transcript_voiceover(file.name, translated_json, output_video_path, mode == "Transcription with Voiceover", target_language
|
480 |
logger.info(f"Transcript added to video. Output video saved at {output_video_path}")
|
481 |
|
482 |
# Convert translated JSON into a format for the editable table
|
|
|
476 |
|
477 |
# Step 3: Add transcript to video based on timestamps
|
478 |
logger.info("Adding translated transcript to video...")
|
479 |
+
add_transcript_voiceover(file.name, translated_json, output_video_path, mode == "Transcription with Voiceover", target_language)
|
480 |
logger.info(f"Transcript added to video. Output video saved at {output_video_path}")
|
481 |
|
482 |
# Convert translated JSON into a format for the editable table
|