LAP-DEV commited on
Commit
3e6c4cb
·
verified ·
1 Parent(s): 2a68411

Update modules/utils/subtitle_manager.py

Browse files
Files changed (1) hide show
  1. modules/utils/subtitle_manager.py +1 -1
modules/utils/subtitle_manager.py CHANGED
@@ -60,7 +60,7 @@ def get_txt(segments):
60
  return output
61
 
62
 
63
- def parse_srt(file_path):
64
  """Reads SRT file and returns as dict"""
65
  with open(file_path, 'r', encoding='utf-8') as file:
66
  srt_data = file.read()
 
60
  return output
61
 
62
 
63
+ def parse_srt(file_path,diarization: bool = False):
64
  """Reads SRT file and returns as dict"""
65
  with open(file_path, 'r', encoding='utf-8') as file:
66
  srt_data = file.read()