Spaces:
Runtime error
Runtime error
Download backend/app/services/alignment.py from aniketqxp/call-qa-processing: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/spaces/aniketqxp/call-qa-processing/resolve/main/backend/app/services/alignment.py
- Command line
-
hf download hf://spaces/aniketqxp/call-qa-processing/backend/app/services/alignment.py
-
curl -L -o alignment.py https://huggingface.co/spaces/aniketqxp/call-qa-processing/resolve/main/backend/app/services/alignment.py
269 Bytes
| class TranscriptSpeakerAligner: | |
| def __init__(self): | |
| pass | |
| def align(self, diarization_turns: list, transcription_words: list): | |
| # Aligns word boundaries with speaker diarization turns | |
| aligned_segments = [] | |
| return aligned_segments | |