Files
LocalAI/backend/python/faster-whisper
Arkadiusz Tymiński 503904d311 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.
2026-05-05 23:46:39 +02:00
..
2025-08-22 08:42:29 +02:00
2025-06-15 14:56:52 +02:00
2025-06-10 14:21:51 +02:00
2025-06-15 14:56:52 +02:00
2025-06-15 14:56:52 +02:00