work with uv

This commit is contained in:
YuechuanLi 2025-10-26 12:51:28 -07:00
parent 11aa78bd9b
commit 2b93f2eb8e
3 changed files with 4373 additions and 0 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.12

50
pyproject.toml Normal file
View File

@ -0,0 +1,50 @@
[project]
name = "gpt-sovits"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.12"
dependencies = [
"av>=11",
"chardet>=5.2.0",
"cn2an>=0.5.23",
"ctranslate2>=4.0,<5",
"fast-langdetect>=0.3.1",
"fastapi[standard]>=0.115.2",
"ffmpeg-python>=0.2.0",
"funasr==1.0.27",
"g2p-en>=2.1.0",
"g2pk2>=0.0.3",
"gradio<5",
"huggingface-hub>=0.13",
"jieba>=0.42.1",
"jieba-fast>=0.53",
"ko-pron>=1.3",
"librosa==0.10.2",
"modelscope==1.10.0",
"numba>=0.62.1",
"numpy<2.0",
"onnxruntime>=1.23.2 ; platform_machine == 'aarch64' or platform_machine == 'arm64'",
"onnxruntime-gpu>=1.23.2 ; platform_machine == 'AMD64' or platform_machine == 'x86_64'",
"opencc-python-reimplemented>=0.1.7",
"peft>=0.17.1",
"psutil>=7.1.2",
"pydantic<=2.10.6",
"pyopenjtalk>=0.4.1",
"pypinyin>=0.55.0",
"python-mecab-ko>=1.3.7 ; sys_platform != 'win32'",
"pytorch-lightning>=2.4",
"pyyaml>=6.0.3",
"rotary-embedding-torch>=0.8.9",
"scipy>=1.16.2",
"sentencepiece>=0.2.1",
"split-lang>=2.1.1",
"tensorboard>=2.20.0",
"tojyutping>=3.2.0",
"tokenizers>=0.13,<1",
"torchaudio>=2.9.0",
"torchmetrics<=1.5",
"tqdm>=4.67.1",
"transformers>=4.43,<=4.50",
"wordsegment>=1.3.1",
"x-transformers>=2.10.2",
]

4322
uv.lock generated Normal file

File diff suppressed because it is too large Load Diff