Update app.py
Browse files
app.py
CHANGED
@@ -370,7 +370,7 @@ def upload_and_manage(file, target_language, mode="transcription"):
|
|
370 |
|
371 |
# Step 3: Add transcript to video based on timestamps
|
372 |
logger.info("Adding translated transcript to video...")
|
373 |
-
add_transcript_voiceover(video_path, translated_json, output_path, mode == "Transcription with Voiceover", target_language)
|
374 |
logger.info(f"Transcript added to video. Output video saved at {output_video_path}")
|
375 |
|
376 |
# Convert translated JSON into a format for the editable table
|
|
|
370 |
|
371 |
# Step 3: Add transcript to video based on timestamps
|
372 |
logger.info("Adding translated transcript to video...")
|
373 |
+
add_transcript_voiceover(video_path, translated_json, output_path, mode == "Transcription with Voiceover", target_language)
|
374 |
logger.info(f"Transcript added to video. Output video saved at {output_video_path}")
|
375 |
|
376 |
# Convert translated JSON into a format for the editable table
|