Skip to content

FunASR 1.3.18

Choose a tag to compare

@github-actions github-actions released this 19 Jul 01:00
1c7a604

Install

python -m pip install -U "funasr==1.3.18"

What changed

This patch release ships the CLI subtitle segmentation fix from #3254 for the user-reported #3253 regression in funasr ... --output-format srt.

  • SRT/TSV output now requests sentence-level timestamps from AutoModel.generate.
  • Subtitle generation loads the punctuation model when needed for SenseVoice-style CLI runs.
  • Single-cue fallback now uses known timestamp/audio bounds instead of an invalid placeholder duration.
  • SRT millisecond formatting now avoids float truncation drift.
  • Malformed timestamp entries are skipped safely instead of crashing fallback formatting.

Verification

  • python3 -m pytest tests/test_cli.py tests/test_generate_subtitle.py tests/test_punc_model_none.py -q -> 9 passed
  • python3 -m py_compile funasr/cli.py tests/test_cli.py setup.py
  • python3 -m build --outdir dist
  • twine check dist/*
  • Wheel content check confirmed version 1.3.18, console entry point, subtitle timestamp request, punctuation setup, and safe timestamp parsing.

Artifacts

  • PyPI: https://pypi.org/project/funasr/1.3.18/
  • Wheel SHA-256: 20e85f86e5b700a1f2b9b496e92076d0787272eafeb9716caa9fdf6f1c4b9a77
  • Source tarball SHA-256: 31502e2395f336ab12d158a55fadb305678252872572e4bde120828128c25923