mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
`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. |
||
|---|---|---|
| .. | ||
| backend.py | ||
| install.sh | ||
| Makefile | ||
| protogen.sh | ||
| requirements-cpu.txt | ||
| requirements-cublas12.txt | ||
| requirements-cublas13.txt | ||
| requirements-hipblas.txt | ||
| requirements-intel.txt | ||
| requirements-l4t12.txt | ||
| requirements-l4t13.txt | ||
| requirements-mps.txt | ||
| requirements.txt | ||
| run.sh | ||
| test.sh | ||