Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Requires Jobs to have Diarization enabled #5

Open
bayu01 opened this issue May 5, 2023 · 0 comments
Open

Requires Jobs to have Diarization enabled #5

bayu01 opened this issue May 5, 2023 · 0 comments

Comments

@bayu01
Copy link

bayu01 commented May 5, 2023

Looks like https://docs.aws.amazon.com/transcribe/latest/dg/diarization.html is required. Code is looking to iterate over the speaker_labels key.

"speaker_labels": {
    "channel_label": "ch_0",
    "speakers": 2,
    "segments": [
         {

If the JSONs were produced without them code will fail with Error in
line 1491, in create_turn_by_turn_segments for segment in data["results"]["speaker_labels"]["segments"]:

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant