qqwjq1981 commited on
Commit
5ef22e6
·
verified ·
1 Parent(s): 9b8d377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, speaker_sample_path)
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