Spaces:
Sleeping
Sleeping
RobCaamano
commited on
Commit
•
cc88fa7
1
Parent(s):
cf3a2dc
Update translated_video.py
Browse files- translated_video.py +1 -1
translated_video.py
CHANGED
@@ -60,7 +60,7 @@ def create_translated_video(original_video_path, translated_audio_path, translat
|
|
60 |
|
61 |
# Add subtitles
|
62 |
final_video_file = os.path.join(output_dir, video_name)
|
63 |
-
final_video_file
|
64 |
|
65 |
# Correct the subtitle filter string for ffmpeg
|
66 |
subtitle_filter_str = f"subtitles='{srt_file}'"
|
|
|
60 |
|
61 |
# Add subtitles
|
62 |
final_video_file = os.path.join(output_dir, video_name)
|
63 |
+
final_video_file += ".mp4"
|
64 |
|
65 |
# Correct the subtitle filter string for ffmpeg
|
66 |
subtitle_filter_str = f"subtitles='{srt_file}'"
|