File size: 778 Bytes
3e3b2c0
 
e698260
 
3e3b2c0
 
e698260
3e3b2c0
e698260
 
3e3b2c0
 
 
 
 
 
e698260
 
 
3179a73
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import os


def get_title():
    return os.path.basename(input_file)


current_working_directory = os.getcwd()

input_file = ""
audio_file = f"{current_working_directory}/input_{get_title()}.wav"
transcribe_file = f"{current_working_directory}/transcribe_{get_title()}.txt"
subtitle_file = f"{current_working_directory}/subtitle_{get_title()}.srt"
transcribe_adjusted_file = f"{current_working_directory}/transcribe_adjusted_{get_title()}.txt"
subtitle_adjusted_file = f"{current_working_directory}/subtitle_adjusted_{get_title()}.srt"
video_subtitle_file = f"{current_working_directory}/output_{get_title()}.mp4"

start_time_for_adjustment = "00:00:00"
end_time_for_adjustment = "00:10:00"

sample_groups_json = "sample_groups.json"
speaker_groups_json = "speaker_groups.json"