Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/services/diarization_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def diarize(self, job_uuid: str, file_path: str) -> dict:
logger.info("Diarization complete for job %s", job_uuid)

# Convert diarization to serializable format
# pyannote 4.x returns a DiarizeOutput object; itertracks is on the inner Annotation
# pyannote 4.x returns a DiarizeOutput; itertracks is on the inner Annotation
Comment thread
NotYuSheng marked this conversation as resolved.
diarization_data = {
"segments": []
}
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/components/Transcript/MeetingInfoSidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@ export default function MeetingInfoSidebar({
</div>
<div className="info-item mb-3">
<small className="text-muted">Speakers</small>
<div className="mb-2">
<div className="mb-2 d-flex flex-wrap gap-1">
{transcript?.segments ? (
[...new Set(transcript.segments.map((s) => s.speaker))].map((speaker) => (
<Badge key={speaker} className="me-1" style={{ backgroundColor: getSpeakerColor(speaker).bg, color: getSpeakerColor(speaker).text }}>
<Badge
key={speaker}
title={speaker}
className="text-truncate"
style={{ backgroundColor: getSpeakerColor(speaker).bg, color: getSpeakerColor(speaker).text, maxWidth: '160px' }}
>
{speaker}
Comment thread
NotYuSheng marked this conversation as resolved.
</Badge>
))
Expand Down
Loading