huggingface / speechbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON serialization not available in pyannote.core 5.x

hbredin opened this issue · comments

segments = diarization.for_json()["content"]

This will break after pyannote.core 5.x branch is released.
Source: pyannote/pyannote-core@c89a9cf

Thanks for the heads-up @hbredin! 🙌 What's the recommended way to extract a Pythonic version from the diarization output (e.g. as a list or dict)?

commented

This will break after pyannote.core 5.x branch is released.

@hbredin @sanchit-gandhi 7 months later, this is broken. Any insight to fix this?

I've submitted PR addressing this issue