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