Merged
Conversation
Bumps the pip group with 1 update in the /components/audiocraft directory: [requests](https://github.com/psf/requests). Updates `requests` from 2.32.3 to 2.33.0 - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.3...v2.33.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]>
…/audiocraft/pip-aa7cb66ac2 Bump requests from 2.32.3 to 2.33.0 in /components/audiocraft in the pip group across 1 directory
There was a problem hiding this comment.
Pull request overview
This PR bumps the project to v26.3.31 and implements “Blocks/Chapters” preview plus improved headless resume behavior, while also aligning Docker/Compose/Podman launch paths around the ebook2audiobook.command entrypoint.
Changes:
- Add block/chapter preview state and persistable block/sentence resume flow for headless conversions.
- Rework container entrypoints/compose profiles (CPU/GPU) and update docs/notebooks for new run patterns.
- Extend config/model defaults (e.g., IPA mapping/regex, default speaker wiring) and adjust dependency sets.
Reviewed changes
Copilot reviewed 44 out of 47 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| VERSION.txt | Version bump to 26.3.31. |
| uninstall.sh | Normalizes uninstall script reference. |
| requirements.txt | Adds cryptography/py-cpuinfo/pandas; adjusts indic-nlp placement. |
| README.md | Updates Podman Compose commands to use profiles and GPU service name. |
| pyproject.toml | Mirrors dependency additions/reordering from requirements. |
| podman-compose.yml | Introduces CPU/GPU profiles, new gpu service, switches entrypoint to command script, adds tmp volume. |
| Notebooks/kaggle-ebook2audiobook.ipynb | Creates run/ dir and uses unbuffered python for logs. |
| Notebooks/colab_ebook2audiobook.ipynb | Same as Kaggle notebook adjustments (dirs + unbuffered python). |
| lib/core.py | Major refactor: block-based state, resume logic, per-block sentence audio layout, updated alerting/session reset behavior. |
| lib/conf.py | Adds CLI option allowlist; reorganizes settings and environment setup. |
| lib/conf_models.py | Adds IPA regex, default speaker, and per-engine default voice wiring. |
| lib/conf_lang.py | Adds ipa_mapping rules table. |
| lib/classes/tts_manager.py | Updates engine API to write to a sentence file path (instead of numeric index). |
| lib/classes/tts_engines/yourtts.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/tts_engines/xtts.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/tts_engines/vits.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/tts_engines/tortoise.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/tts_engines/tacotron.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/tts_engines/presets/yourtts_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/xtts_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/vits_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/tortoise_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/tacotron_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/glowtts_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/fairseq_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/presets/bark_presets.py | Uses engine default voice setting for presets. |
| lib/classes/tts_engines/glowtts.py | Adapts engine to new sentence file path API; renames local phonemized var to part_ipa. |
| lib/classes/tts_engines/fairseq.py | Adapts engine to new sentence file path API; tweaks (commented) silence timing. |
| lib/classes/tts_engines/common/utils.py | Renames memory cleanup API, revises VTT generation to traverse per-block sentence dirs. |
| lib/classes/tts_engines/common/headers.py | Exposes sys and std stream filter helpers to engines. |
| lib/classes/tts_engines/bark.py | Adapts engine to new sentence file path API; switches to cleanup_memory(). |
| lib/classes/std_filter.py | Adds std stream wrapper classes for engines. |
| lib/classes/device_installer.py | Adds CPU baseline detection and numpy pinning guard for older x86 CPUs. |
| lib/init.py | Re-exports new config/model items (cli options, fernet items, IPA mapping/pattern). |
| ebook2audiobook.egg-info/requires.txt | Mirrors dependency additions/reordering. |
| ebook2audiobook.command | Adds CLI option validation, version flag, Docker/Podman detection improvements, and unbuffered python execution. |
| ebook2audiobook.cmd | Adds CLI option validation, version flag, Docker/Podman detection improvements, and unbuffered python execution. |
| dockerfiles/HuggingfaceDockerfile | Reworks HF Spaces image to single-stage build with script-driven dependency install and runtime user setup. |
| Dockerfile | Switches to single-stage build/runtime image and updates entrypoint to command script; adds run/tmp volumes. |
| docker-compose.yml | Updates entrypoint to command script; adds tmp volume; bumps APP_VERSION arg. |
| components/sitecustomize.py | Improves import-hook robustness; extends patches to huggingface_hub and transformers compat. |
| components/audiocraft/requirements.txt | Updates requests version pin. |
| app.py | Uses cli_options, creates session IDs for headless runs, updates batch conversion loop, and updates help text examples. |
| .gitignore | Broadens ignores for outputs/cache dirs with .gitkeep exceptions. |
| .dockerignore | Updates docker ignore rules to exclude outputs/models/tmp/run and tools. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…t sys stream assignments in TTS engines Agent-Logs-Url: https://github.com/DrewThomasson/ebook2audiobook/sessions/d686401a-85f2-48b2-be05-87ba66c649b0 Co-authored-by: ROBERT-MCDOWELL <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lib/classes/std_filter.pyto add__getattr__passthrough so filters don't break libraries expecting fullTextIOBasesys.stderroverwrite in all TTS engine files (bark, fairseq, glowtts, xtts, yourtts, vits, tortoise, tacotron) — now correctly wraps bothsys.stdoutandsys.stderr