mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
Compare commits
1
Commits
b8386b43f7
...
webui
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de4c418dff |
+1
-2
@@ -1,6 +1,5 @@
|
|||||||
# Unreleased
|
|
||||||
|
|
||||||
# 1.3.0
|
# 1.3.0
|
||||||
|
- Special thanks to [@jeremiahsb](https://github.com/jeremiahsb) for his [massive contribution](https://github.com/denizsafak/abogen/pull/120) (>55k lines!) that brought the Web UI, EPUB 3 pipeline, and core architectural improvements to life.
|
||||||
- Added an EPUB 3 packaging pipeline that builds media-overlay EPUBs from generated audio and chunk metadata.
|
- Added an EPUB 3 packaging pipeline that builds media-overlay EPUBs from generated audio and chunk metadata.
|
||||||
- Persisted chunk timing metadata in job artifacts and exercised the exporter with automated tests.
|
- Persisted chunk timing metadata in job artifacts and exercised the exporter with automated tests.
|
||||||
- Added Flask-based Web UI (`abogen-web`) for Docker and headless server deployments.
|
- Added Flask-based Web UI (`abogen-web`) for Docker and headless server deployments.
|
||||||
|
|||||||
+25
-15
@@ -5,13 +5,27 @@ build-backend = "hatchling.build"
|
|||||||
[project]
|
[project]
|
||||||
name = "abogen"
|
name = "abogen"
|
||||||
description = "Generate audiobooks from EPUBs, PDFs and text with synchronized captions."
|
description = "Generate audiobooks from EPUBs, PDFs and text with synchronized captions."
|
||||||
authors = [
|
authors = [{ name = "Deniz Şafak", email = "denizsafak98@gmail.com" }]
|
||||||
{ name="Deniz Şafak", email="denizsafak98@gmail.com" }
|
|
||||||
]
|
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
requires-python = ">=3.10, <3.13"
|
requires-python = ">=3.10, <3.13"
|
||||||
keywords = ["audiobook", "epub", "pdf", "text-to-speech", "subtitle", "tts", "kokoro", "accessibility", "book-converter", "voice-synthesis", "multilingual", "chapter-management", "subtitles", "content-creation", "media-generation"]
|
keywords = [
|
||||||
|
"audiobook",
|
||||||
|
"epub",
|
||||||
|
"pdf",
|
||||||
|
"text-to-speech",
|
||||||
|
"subtitle",
|
||||||
|
"tts",
|
||||||
|
"kokoro",
|
||||||
|
"accessibility",
|
||||||
|
"book-converter",
|
||||||
|
"voice-synthesis",
|
||||||
|
"multilingual",
|
||||||
|
"chapter-management",
|
||||||
|
"subtitles",
|
||||||
|
"content-creation",
|
||||||
|
"media-generation",
|
||||||
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"pip",
|
"pip",
|
||||||
"kokoro>=0.9.4",
|
"kokoro>=0.9.4",
|
||||||
@@ -20,7 +34,6 @@ dependencies = [
|
|||||||
"ebooklib>=0.19",
|
"ebooklib>=0.19",
|
||||||
"beautifulsoup4>=4.13.4",
|
"beautifulsoup4>=4.13.4",
|
||||||
"spacy>=3.8.7,<4.0",
|
"spacy>=3.8.7,<4.0",
|
||||||
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
|
|
||||||
"PyMuPDF>=1.25.5",
|
"PyMuPDF>=1.25.5",
|
||||||
"platformdirs>=4.3.7",
|
"platformdirs>=4.3.7",
|
||||||
"soundfile>=0.13.1",
|
"soundfile>=0.13.1",
|
||||||
@@ -36,7 +49,7 @@ dependencies = [
|
|||||||
"gpustat>=1.1.1",
|
"gpustat>=1.1.1",
|
||||||
"num2words>=0.5.13",
|
"num2words>=0.5.13",
|
||||||
"httpx>=0.27.0",
|
"httpx>=0.27.0",
|
||||||
"PyQt6>=6.5.0"
|
"PyQt6>=6.5.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
@@ -48,7 +61,7 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Operating System :: OS Independent"
|
"Operating System :: OS Independent",
|
||||||
]
|
]
|
||||||
|
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
@@ -84,10 +97,7 @@ exclude = [
|
|||||||
packages = ["abogen"]
|
packages = ["abogen"]
|
||||||
|
|
||||||
[tool.hatch.build]
|
[tool.hatch.build]
|
||||||
include = [
|
include = ["abogen/webui/templates/**", "abogen/webui/static/**"]
|
||||||
"abogen/webui/templates/**",
|
|
||||||
"abogen/webui/static/**",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.hatch.version]
|
[tool.hatch.version]
|
||||||
path = "abogen/VERSION"
|
path = "abogen/VERSION"
|
||||||
@@ -96,7 +106,7 @@ pattern = "^(?P<version>.+)$"
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
filterwarnings = [
|
filterwarnings = [
|
||||||
"ignore:builtin type .* has no __module__ attribute:DeprecationWarning",
|
"ignore:builtin type .* has no __module__ attribute:DeprecationWarning",
|
||||||
"ignore:Importing 'parser.split_arg_string' is deprecated:DeprecationWarning"
|
"ignore:Importing 'parser.split_arg_string' is deprecated:DeprecationWarning",
|
||||||
]
|
]
|
||||||
|
|
||||||
# --- OPTIONAL DEPENDENCIES ---
|
# --- OPTIONAL DEPENDENCIES ---
|
||||||
@@ -118,7 +128,7 @@ dev = ["build", "pytest"]
|
|||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
kokoro = [
|
kokoro = [
|
||||||
{ git = "https://github.com/hexgrad/kokoro.git", marker = "sys_platform == 'darwin'" },
|
{ git = "https://github.com/hexgrad/kokoro.git", marker = "sys_platform == 'darwin'" },
|
||||||
{ index = "pypi", marker = "sys_platform != 'darwin'" }
|
{ index = "pypi", marker = "sys_platform != 'darwin'" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# --- TORCH CONFIGURATION ---
|
# --- TORCH CONFIGURATION ---
|
||||||
@@ -134,13 +144,13 @@ torch = [
|
|||||||
{ index = "pytorch-cuda-126", marker = "extra == 'cuda126' and extra != 'rocm' and extra != 'cuda130'" },
|
{ index = "pytorch-cuda-126", marker = "extra == 'cuda126' and extra != 'rocm' and extra != 'cuda130'" },
|
||||||
|
|
||||||
# CUDA 12.8 (NVIDIA)
|
# CUDA 12.8 (NVIDIA)
|
||||||
{ index = "pytorch-cuda-128", marker = "extra == 'cuda' and extra != 'rocm' and extra != 'cuda130' and extra != 'cuda126'" }
|
{ index = "pytorch-cuda-128", marker = "extra == 'cuda' and extra != 'rocm' and extra != 'cuda130' and extra != 'cuda126'" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# --- TRITON CONFIGURATION ---
|
# --- TRITON CONFIGURATION ---
|
||||||
|
|
||||||
pytorch-triton-rocm = [
|
pytorch-triton-rocm = [
|
||||||
{ index = "pytorch-rocm-64-nightly", marker = "extra == 'rocm'" }
|
{ index = "pytorch-rocm-64-nightly", marker = "extra == 'rocm'" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# --- INDEX DEFINITIONS ---
|
# --- INDEX DEFINITIONS ---
|
||||||
|
|||||||
Reference in New Issue
Block a user