qqwjq1981 commited on
Commit
74d8190
·
verified ·
1 Parent(s): 8d18d82

Update app.py

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