Spaces:
Paused
Paused
Commit History
-
refactor: runtime config, Q&A flow module, storage paths, and cleanup
- runtime_config.py: centralized storage paths (supports HF persistent storage) - qa_flow.py: testable Q&A logic with dedup (claim_audio_submission) - tts.py: pregeneration progress tracking (get_pregeneration_status) - app.py: use runtime_config paths, show pregen status on book select, remove flash-attn runtime install, fix profile stories count - README.md: updated for LFM Q&A architecture - .gitignore: add audio_cache/ - requirements.txt: updated deps Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>397b4ac -
feat: persist voice profiles to Voice_Profile/ with auto-load on startup
Voice profile persistence: - Profiles saved to Voice_Profile/<id>/profile.pt + metadata.json on clone - On app startup, most recent profile auto-loaded as default voice - voice_profile_state initialized with saved profile (or None for stock) - synthesize_cloned() falls back to disk if not in memory cache - has_profile() checks both memory cache and disk - create_voice_profile() now accepts voice_name param for metadata - Player shows actual cloned voice name (from metadata) instead of generic label New APIs in voice_clone.py: - save_profile_to_disk(profile_id, voice_name) -> Path - load_profile_from_disk(profile_id) -> bool - list_saved_profiles() -> list[dict] - load_default_profile() -> str | None Voice_Profile/ added to .gitignore (user data). 102 tests pass (28 latency/persistence + 74 integration). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>0d420e4 -
feat: wire Whisper-small ASR and Qwen2.5-3B Q&A into app (sprint steps 9-10)
- Add inference.py: on-demand Whisper-small transcription + Qwen2.5-3B-Instruct grounded story Q&A with context retrieval - Update app.py handle_question_submit to use real ASR + Q&A + TTS pipeline - Add test_modules/test_whisper_qwen.py for model verification - Add .github/copilot-instructions.md for Copilot context - Update sprint.md: mark steps 9 and 10 complete - Add sample_sounds/ to .gitignore (generated at runtime) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>e99dd36
-
Add story downloader, cleaner, and 10 TTS-ready children's stories
- gutenberg_downloader.py: reusable Project Gutenberg downloader/parser - download_stories.py: downloads 10 public domain children's stories - clean_stories.py: strips Gutenberg boilerplate for clean TTS input - 10 cleaned stories (691-2912 words each): Beatrix Potter, fairy tales - .gitignore: exclude __pycache__ed5026f