Spaces:
Runtime error
Runtime error
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" | |