Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def translate_text(transcription_json, target_language):
|
|
85 |
entry["start"], original_text, translated_text, entry["end"])
|
86 |
|
87 |
# Return the translated timestamps as a JSON string
|
88 |
-
return
|
89 |
|
90 |
def add_transcript_to_video(video_path, translated_json, output_path):
|
91 |
# Load the video file
|
|
|
85 |
entry["start"], original_text, translated_text, entry["end"])
|
86 |
|
87 |
# Return the translated timestamps as a JSON string
|
88 |
+
return translated_json
|
89 |
|
90 |
def add_transcript_to_video(video_path, translated_json, output_path):
|
91 |
# Load the video file
|