Commit Graph

27 Commits

Author SHA1 Message Date
Steve White 0e522feddf Clean up memory management in cbx-audiobook.py
- Use singleton pattern from TTSService for efficient model management
- Remove complex manual memory cleanup code
- Simplify CLI arguments by removing redundant memory management options
- Load model once at start, let singleton handle efficient reuse
- Remove keep-model-loaded and cleanup-interval options
- Streamline generation logic to match backend service patterns

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 00:01:13 -05:00
Steve White a983c31e54 Add cbx-audiobook.py and import_helper.py
- Add audiobook generation CLI tool from dev branch
- Create import_helper.py to resolve backend service imports for CLI scripts
- All dependencies verified and working correctly

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-26 15:04:55 -05:00
Steve White 3548485b4e Singleton manages memory well and fast. 2025-06-26 14:56:53 -05:00
Steve White 2af705ca43 updated with startup script 2025-06-17 16:26:55 -05:00
Steve White 758aa02053 Patched up to work on m3 laptop. Need to fix the location specific shit. 2025-06-07 16:06:38 -05:00
Steve White c91a9598b1 Add API reference 2025-06-06 23:18:47 -05:00
Steve White b37aa56fa6 Added persistence of TTS settings in dialog save/restore. 2025-06-06 11:58:48 -05:00
Steve White f9e952286d Added settings to allow control of exaggeration, cfg_weight, and temperature on each line. 2025-06-06 11:53:43 -05:00
Steve White 26f1d98b46 Fixed Play button to match other icons 2025-06-06 11:35:39 -05:00
Steve White e11a4a091c variablized colors in the .css, tweaked them. Re-arranged buttons. 2025-06-06 11:33:54 -05:00
Steve White 252f885b5a Updated buttons, save/load 2025-06-06 10:36:06 -05:00
Steve White d8eb2492d7 Add dialog script save/load functionality and CLAUDE.md
- Implement save/load buttons in dialog editor interface
- Add JSONL export/import for dialog scripts with validation
- Include timestamp-based filenames for saved scripts
- Add comprehensive error handling and user confirmations
- Create CLAUDE.md with development guidance and architecture overview

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06 10:05:58 -05:00
Steve White d3ff6e5241 Now uses pre-generated files in concatenated file. 2025-06-06 09:49:04 -05:00
Steve White 4a7c1ea6a1 Added per-line generation and playback; currently regenerates when you hit 'Generate Audio' 2025-06-06 08:44:21 -05:00
Steve White 0261b86ad2 added single line generation to the backend 2025-06-06 08:26:15 -05:00
Steve White 6ccdd18463 Made rows re-orderable 2025-06-06 00:10:36 -05:00
Steve White 1575bf4292 Made speakers drop-down selectable. 2025-06-06 00:05:05 -05:00
Steve White f2f907452b Miscellaneous visual changes 2025-06-06 00:02:00 -05:00
Steve White 9e4fb35800 Working dialog generator 2025-06-05 18:46:09 -05:00
Steve White 6adcadded1 chore: remove node_modules from git tracking and add to .gitignore 2025-06-05 17:40:27 -05:00
Steve White 4a294608b1 Working layout. 2025-06-05 17:38:12 -05:00
Steve White b5db7172cf Working minimum interface for js and api 2025-06-05 16:47:47 -05:00
Steve White 9d1dc330ea Update docs in .noew 2025-06-05 09:22:54 -05:00
Steve White b781d8abcf Updated note directory- gradio interface working. 2025-06-05 09:20:19 -05:00
Steve White 769daab4c7 Major update: Enhanced memory management, configurable silence gaps, and file organization
- Added aggressive memory cleanup for both single and dialog generation
- Implemented configurable silence gaps between dialog lines
- Organized output files into single_output/ and dialog_output/ directories
- Fixed torch import scoping issues
- Updated README with comprehensive documentation
2025-06-04 12:37:52 -05:00
Steve White 869914e8a0 Added dialog generation with concatenation 2025-06-04 10:00:04 -05:00
Steve White 63efb26910 Gradio app added, cbx-dialog-generate.py added 2025-06-04 08:30:07 -05:00