mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
pandas fix
This commit is contained in:
@ -207,6 +207,8 @@ def write_ass(transcript: Iterator[dict],
|
||||
ass_arr = []
|
||||
|
||||
for segment in transcript:
|
||||
# if "12" in segment['text']:
|
||||
# import pdb; pdb.set_trace()
|
||||
if resolution_key in segment:
|
||||
res_segs = pd.DataFrame(segment[resolution_key])
|
||||
prev = segment['start']
|
||||
|
Reference in New Issue
Block a user