diff --git a/requirements.txt b/requirements.txt index bc3efb22..3d5843ba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,81 +1,80 @@ -# Fixed requirements.txt - Resolved all dependency conflicts -# Core scientific computing - FIXED VERSIONS -numpy==1.23.5 -scipy==1.10.1 -numba==0.58.1 +# Requirements aligned with original GPT-SoVITS app +# Core scientific computing - MATCHING ORIGINAL +numpy==1.23.4 +scipy==1.13.1 +numba==0.56.4 -matplotlib +# TensorFlow ecosystem - MATCHING ORIGINAL +tensorboard==2.19.0 +tensorflow==2.15.0 # Compatible with tensorboard 2.19.0 -# TensorFlow ecosystem - COMPATIBLE VERSIONS -tensorflow==2.15.0 -tensorboard==2.15.2 -tensorflow-io-gcs-filesystem==0.31.0 - -# PyTorch ecosystem +# PyTorch ecosystem - MATCHING ORIGINAL torch>=2.1.0 -torchaudio==2.1.0 -pytorch-lightning==2.1.3 -torchmetrics==1.2.0 +torchaudio==2.6.0 +pytorch-lightning==2.5.1 +torchmetrics==1.5.0 # Computer vision opencv-python==4.8.1.78 pillow==10.1.0 -# Audio processing -librosa==0.10.1 +# Audio processing - MATCHING ORIGINAL +librosa==0.9.2 ffmpeg-python==0.2.0 -# ONNX runtime (choose one based on your system) -onnxruntime==1.16.3 -# onnxruntime-gpu==1.16.3 # Uncomment for GPU, comment out onnxruntime above +# ONNX runtime - MATCHING ORIGINAL +onnxruntime==1.19.2 #(for macOS) +onnxruntime-gpu==1.19.2 #(for non-macOS) -# NLP and transformers -transformers>=4.35.0 -sentencepiece==0.1.99 -peft==0.6.2 +# NLP and transformers - MATCHING ORIGINAL +transformers==4.50.0 +sentencepiece==0.2.0 +peft==0.15.0 -# Chinese/Asian language processing -funasr==1.0.25 -cn2an==0.5.22 -pypinyin==0.50.0 -pyopenjtalk==0.3.2 +# Chinese/Asian language processing - MATCHING ORIGINAL +funasr==1.0.27 +cn2an==0.5.23 +pypinyin==0.53.0 +pyopenjtalk==0.4.0 g2p-en==2.1.0 -ToJyutping==0.2.2 +ToJyutping==3.2.0 g2pk2==0.0.3 ko-pron==1.3 -opencc==1.1.6 -python-mecab-ko==1.3.5 +opencc==1.1.1 #(for Linux) +python-mecab-ko==1.3.7 #(not for Windows) jieba_fast==0.53 jieba==0.42.1 -# Web framework -fastapi==0.104.1 +# Web framework - MATCHING ORIGINAL where possible +fastapi==0.112.1 # (since <0.112.2) uvicorn[standard]==0.24.0 websockets==12.0 python-multipart==0.0.6 -# Additional ML/AI tools +# Additional ML/AI tools - MATCHING ORIGINAL modelscope==1.10.0 -x-transformers==1.27.19 -rotary-embedding-torch==0.5.3 +x-transformers==2.1.37 +rotary-embedding-torch==0.8.6 -# Utilities -tqdm==4.66.1 +# Utilities - MATCHING ORIGINAL +tqdm==4.67.1 chardet==5.2.0 -PyYAML==6.0.1 -psutil==5.9.6 +PyYAML==6.0.2 +psutil==7.0.0 split-lang==2.1.0 fast-langdetect==0.3.1 -faster-whisper==0.10.1 +faster-whisper==1.1.1 wordsegment==1.3.1 attrdict==2.0.1 activations==0.1.0 + +# UI Framework - MATCHING ORIGINAL +gradio==4.24.0 + +# Face detection addition (your new feature) +deepface==0.0.79 aiofiles==23.2.1 -# Face detection (your addition) -deepface==0.0.79 - -# Security +# Security (for face detection API) python-jose[cryptography]==3.3.0 -passlib[bcrypt]==1.7.4 -gradio \ No newline at end of file +passlib[bcrypt]==1.7.4 \ No newline at end of file