This commit is contained in:
unknown
2026-01-04 11:05:36 -08:00
parent 473548cdd9
commit 84f5f63913
5 changed files with 4 additions and 6 deletions

View File

@@ -1 +1 @@
26.1.3
25.12.33

View File

@@ -5,7 +5,7 @@ services:
context: .
dockerfile: Dockerfile
args:
APP_VERSION: ${APP_VERSION:-26.1.3}
APP_VERSION: ${APP_VERSION:-25.12.33}
DEVICE_TAG: ${DEVICE_TAG:-cpu} # e.g. cu128, cu118, rocm, xpu, cpu
container_name: ebook2audiobook
working_dir: /app

View File

@@ -1084,7 +1084,6 @@ def get_sentences(text:str, id:str)->list|None:
session = context.get_session(id)
if not session:
return None
lang, tts_engine = session['language'], session['tts_engine']
max_chars = int(language_mapping[lang]['max_chars'] / 2)
sml_values = tuple(
@@ -1145,7 +1144,6 @@ def get_sentences(text:str, id:str)->list|None:
else:
left = rest[:max_chars].strip()
right = rest[max_chars:].strip()
# 🔒 GUARANTEE PROGRESS
if not left or right == rest:
final_list.append(rest.strip())
break

View File

@@ -5,7 +5,7 @@ services:
context: .
dockerfile: Dockerfile
args:
APP_VERSION: ${APP_VERSION:-26.1.3}
APP_VERSION: ${APP_VERSION:-25.12.33}
DEVICE_TAG: ${DEVICE_TAG:-cpu} # e.g. cu124, cu128, rocm, xpu, cpu etc.
container_name: ebook2audiobook
working_dir: /app

View File

@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[tool.poetry]
name = "ebook2audiobook"
version = "26.1.3"
version = "25.12.33"
[tool.setuptools.dynamic]
version = {file = "VERSION.txt"}