Skip to content

list index out of range #2

@ghayth82

Description

@ghayth82

I have json file from Amazon with two speakers but I get the below error
Traceback (most recent call last): File "process_aws_output.py", line 114, in <module> run('input.txt') File "process_aws_output.py", line 109, in run parse_raw_transcription(fname, speakers) File "process_aws_output.py", line 96, in parse_raw_transcription html = build_html(lines, end_times, job_name, speaker_names) File "process_aws_output.py", line 81, in build_html html, current_speaker = _update_speaker(html, range_speaker) File "process_aws_output.py", line 31, in update_speaker speaker = speaker_map[int(speaker_name[-1])] **IndexError: list index out of range**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions