put match text in transcribe output

This commit is contained in:
2025-11-08 09:07:02 -06:00
parent 2b81dfd752
commit 0403377b07

View File

@@ -78,7 +78,7 @@ for audio_filename in audio_filenames:
print(f'PARTIAL FOUND: {match}')
match_list = fmap.map[match]
if match_list is not None:
match_list.append({'start': segment['start'], 'end': segment['end']})
match_list.append({'text': segment['text'], 'start': segment['start'], 'end': segment['end']})
to_dump = {}
for key in list(map.keys()):