Skip to content
This repository was archived by the owner on Sep 21, 2026. It is now read-only.

Supports Python 3.14 and improves subtitle parsing to better preserve original formatting.

Choose a tag to compare

@LattifaiHQ LattifaiHQ released this 04 Nov 16:44
· 661 commits to main since this release

Overview

This release adds Python 3.14 support and improves subtitle parsing to better preserve original formatting.


What's New

Python 3.14 Support

LattifAI now officially supports Python 3.14, ensuring compatibility with the latest Python release.

  • doesn't support python 3.14 for now because of onnxruntime microsoft/onnxruntime#26309
  • Added Python 3.14 to supported versions (>=3.10,<3.15)
  • Updated package classifiers for Python 3.14
  • Tested compatibility with Python 3.14 runtime

Enhanced Subtitle Parsing

Improved subtitle content processing to maintain better fidelity with original subtitle files.

Key Improvements:

  • Preserved HTML Entities: Original HTML entities (&amp;, &lt;, &gt;, &quot;, &#39;, etc.) are now preserved after alignment, preventing unwanted decoding.
  • Improved Text Fidelity: Enhanced parsing logic to retain special characters and formatting in subtitles.

Impact:

  • ✅ Better preservation of special characters and symbols in subtitles
  • ✅ More accurate representation of original subtitle content
  • ✅ Improved compatibility with subtitle files containing encoded characters

Example:

Before v0.4.6:

1
00:00:01,000 --> 00:00:03,000
She said &quot;Hello&quot; &amp; goodbye

HTML entities might be decoded as : She said "Hello" & goodbye in the output.

After v0.4.6:

1
00:00:01,234 --> 00:00:03,456
She said &quot;Hello&quot; &amp; goodbye

HTML entities are preserved in the output.