voiceAI / requirements.txt
ahanbose's picture
Update requirements.txt
efeb034 verified
# ──────────────────────────────────────────────────────────────────────────────
# 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