Spaces:
Runtime error
Runtime error
Commit
·
2de166e
1
Parent(s):
b48459a
minor fixes
Browse files
adjust.py
CHANGED
@@ -116,7 +116,7 @@ def start_adjust(to_name, progress=gr.Progress()):
|
|
116 |
# Adding subtitle to video
|
117 |
progress(0.8, desc=ui_lang["progress_add_subtitle"])
|
118 |
add_subtitle_to_video(
|
119 |
-
current_input_file, get_subtitle_adjusted_file(), get_video_subtitle_file(), start_time_for_adjustment
|
120 |
|
121 |
# Return video file link, transcribe string, transcribe.txt, subtitle.txt
|
122 |
transcribe_txt_list, _ = utils.read_transcribe_subtitle_file(True)
|
|
|
116 |
# Adding subtitle to video
|
117 |
progress(0.8, desc=ui_lang["progress_add_subtitle"])
|
118 |
add_subtitle_to_video(
|
119 |
+
current_input_file, get_subtitle_adjusted_file(), get_video_subtitle_file(), start_time_for_adjustment, end_time_for_adjustment)
|
120 |
|
121 |
# Return video file link, transcribe string, transcribe.txt, subtitle.txt
|
122 |
transcribe_txt_list, _ = utils.read_transcribe_subtitle_file(True)
|