pandas fix

This commit is contained in:
Max Bain
2023-01-27 15:05:08 +00:00
parent 7f2159a953
commit 5b8c8a7bd3
2 changed files with 25 additions and 16 deletions

View File

@ -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']