Smartfolio-python / requirements.txt
mahrooshishaq
feat(resume): improve PDF and DOCX extraction
327b929
Raw History Blame Contribute Delete
763 Bytes
fastapi==0.115.0
uvicorn==0.30.6
pdfplumber==0.11.4
python-docx==1.1.2
python-multipart==0.0.9
pydantic==2.8.2
# Text-to-speech: Kokoro-82M via ONNX Runtime (fp32 export — identical weights
# to the torch release, so no quality loss) with misaki providing the same
# English G2P the torch pipeline uses. 2-4x faster than torch on CPU and keeps
# torch (~2GB) out of the image. Model files are fetched in the Dockerfile
# (or point KOKORO_ONNX_MODEL / KOKORO_ONNX_VOICES at them).
# The /tts route still degrades gracefully to 503 if anything is missing.
kokoro-onnx>=0.4.9
misaki[en]>=0.9.4
soundfile>=0.12.1
# Optional torch fallback (heavy): `pip install kokoro>=0.9.2` — picked up
# automatically by TTS_BACKEND=auto when the ONNX model files are absent.