fix(faster-whisper): cast segment timestamps to int after multiplication (#9674)
`int(x) * 1e9` returns a float because `1e9` is a float literal, but TranscriptSegment.start/end are integer protobuf fields. This caused every transcription request to fail with: TypeError: 'float' object cannot be interpreted as an integer Multiply first, then cast — `int(x * 1e9)` — to get an int as required.
A
Arkadiusz Tymiński committed
503904d3110e196e5bfa61171cd2494f5da7bf7a
Parent: d5ce823
Committed by GitHub <noreply@github.com>
on 5/5/2026, 9:46:39 PM