FaceSwap / requirements.txt
LogicGoInfotechSpaces's picture
Update requirements.txt
264cff7 verified
# Core deps
numpy<2
Pillow
scipy
scikit-image
tqdm
yapf
addict
future
lmdb
pyyaml
requests
httpx
gdown
opencv-python
# Torch (pinned for CodeFormer compatibility)
torch==1.12.1
torchvision==0.13.1
# CodeFormer/RealESRGAN deps
git+https://github.com/xinntao/BasicSR.git
realesrgan
lpips
facexlib==0.2.5
# Face swap / insightface
insightface
onnx
onnxruntime-gpu # GPU support
motor # MongoDB async support
# App deps
gradio
huggingface_hub
fastapi
uvicorn
motor
boto3
# Optional but included in CodeFormer repo
tb-nightly