support python3.10

This commit is contained in:
Ftps
2024-01-22 13:29:40 +09:00
parent 9217ac5ee9
commit 4637dbb771
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
[tool.poetry] [tool.poetry]
name = "rvc" name = "rvc"
version = "0.2.0" version = "0.3.2"
description = "" description = "An easy-to-use Voice Conversion framework based on VITS."
authors = ["Ftps <ftpsflandre@gmail.com>"] authors = ["Ftps <ftpsflandre@gmail.com>"]
readme = "README.md" readme = "README.md"
@@ -9,9 +9,10 @@ readme = "README.md"
github = "https://github.com/RVC-Project/Retrieval-based-Voice-Conversion" github = "https://github.com/RVC-Project/Retrieval-based-Voice-Conversion"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "3.11.2" python = "^3.10"
torch = "^2.1.0" torch = "^2.1.0"
fairseq = {git = "https://github.com/Tps-F/fairseq.git", branch="main"} fairseq = "^0.12.2"
# fairseq = {git = "https://github.com/Tps-F/fairseq.git", branch="main"}
soundfile = "^0.12.1" soundfile = "^0.12.1"
librosa = "^0.10.1" librosa = "^0.10.1"
praat-parselmouth = "^0.4.3" praat-parselmouth = "^0.4.3"

View File

@@ -25,7 +25,6 @@ def inference(
rms_mix_rate: float = 0.25, rms_mix_rate: float = 0.25,
protect: float = 0.33, protect: float = 0.33,
): ):
print(protect)
vc = VC() vc = VC()
vc.get_vc(modelpath) vc.get_vc(modelpath)
tgt_sr, audio_opt, times, _ = vc.vc_single( tgt_sr, audio_opt, times, _ = vc.vc_single(