marquesafonso commited on
Commit
ee7445f
·
verified ·
1 Parent(s): 8911fc8

Update src/transcriber.py

Browse files
Files changed (1) hide show
  1. src/transcriber.py +1 -1
src/transcriber.py CHANGED
@@ -48,7 +48,7 @@ def transcriber(file_input:gr.File,
48
  task:str,
49
  model_version:str):
50
 
51
- srt_filepath = os.path.normpath(f"{video_input.split('.')[0]}.srt")
52
  if file_input.file_type == "video":
53
  audio_input = convert_video_to_audio(file_input)
54
  else:
 
48
  task:str,
49
  model_version:str):
50
 
51
+ srt_filepath = os.path.normpath(f"{file_input.split('.')[0]}.srt")
52
  if file_input.file_type == "video":
53
  audio_input = convert_video_to_audio(file_input)
54
  else: