qqwjq1981 commited on
Commit
bbd65e5
·
verified ·
1 Parent(s): 50824cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def translate_text(transcription_json, target_language):
87
  # Return the translated timestamps as a JSON string
88
  return json.dumps(translated_json, indent=4)
89
 
90
- def add_transcript_to_video(video_path, timestamps, output_path):
91
  # Load the video file
92
  video = VideoFileClip(video_path)
93
 
 
87
  # Return the translated timestamps as a JSON string
88
  return json.dumps(translated_json, indent=4)
89
 
90
+ def add_transcript_to_video(video_path, translated_json, output_path):
91
  # Load the video file
92
  video = VideoFileClip(video_path)
93