| # ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| # VoiceVerse Pro β Python Dependencies |
| # 2026 Stable Build | Python 3.10+ |
| # |
| # Install: |
| # pip install -r requirements.txt |
| # |
| # On Hugging Face Spaces this file is picked up automatically. |
| # ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
|
|
|
|
| # ββ Streamlit βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| streamlit>=1.35.0,<2.0.0 |
| sentencepiece |
| dotenv |
|
|
| # ββ LangChain core (1.x stable β released Oct 2025, no breaking changes until 2.0) |
| langchain |
| langchain-core |
| langchain-text-splitters |
|
|
| # HuggingFace-native LangChain package (replaces langchain-community HF classes) |
| langchain-huggingface |
|
|
| # FAISS vector store wrapper (still in community; only non-HF class used) |
| langchain-community |
|
|
|
|
| # ββ Vector search βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| faiss-cpu>=1.8.0,<2.0.0 |
|
|
|
|
| # ββ Embeddings ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| sentence-transformers |
|
|
|
|
| # ββ Hugging Face ecosystem ββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| huggingface-hub>=0.23.0,<1.0.0 |
| transformers>=4.42.0,<5.0.0 |
| datasets>=2.20.0,<4.0.0 # used by TTSEngine for CMU Arctic xvectors |
| accelerate>=0.30.0,<1.0.0 # optional speed-up for transformers on CPU |
|
|
|
|
| # ββ Document parsing ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| pypdf>=4.2.0,<5.0.0 # PDF text extraction |
|
|
|
|
| # ββ Text-to-Speech ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| # SpeechT5 is loaded via transformers (already listed above) |
| soundfile>=0.12.1,<1.0.0 # WAV encode/decode |
| scipy>=1.13.0,<2.0.0 # audio signal utilities |
|
|
| # gTTS β network fallback TTS (no GPU required) |
| gTTS>=2.5.0,<3.0.0 |
|
|
|
|
| # ββ Numerics ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| numpy>=1.26.0,<3.0.0 |
|
|
|
|
| # ββ Utilities βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ |
| python-dotenv>=1.0.0,<2.0.0 # loads .env into os.environ |
| pydantic>=2.7.0,<3.0.0 |
| tqdm>=4.66.0,<5.0.0 |