Python wrapper for inference with rvc
Project description
RVC INFER
A streamlined Python wrapper for inference with RVC. Specifically designed for inference tasks.
how to install
pip install rvc_infer
How to Use
download online models
from rvc_infer import download_online_model
output = download_online_model(
url,
dir_name
)
print(output)
Infernece
from rvc_infer import infer_audio
result = infer_audio(
model_name,
audio_path,
f0_change=0,
f0_method="rmvpe+",
min_pitch="50",
max_pitch="1100",
crepe_hop_length=128,
index_rate=0.75,
filter_radius=3,
rms_mix_rate=0.25,
protect=0.33,
split_infer=False,
min_silence=500,
silence_threshold=-50,
seek_step=1,
keep_silence=100,
do_formant=False,
quefrency=0,
timbre=1,
f0_autotune=False,
audio_format="wav",
resample_sr=0,
hubert_model_path="hubert_base.pt",
rmvpe_model_path="rmvpe.pt",
fcpe_model_path="fcpe.pt"
)
little note
the model_name It will automaticly search a folder containing the pth file and index file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rvc_infer-2024.1.5.1.tar.gz
(47.3 kB
view hashes)
Built Distribution
Close
Hashes for rvc_infer-2024.1.5.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 15895edacdd8d141c979657b62a02838e0ccee11af043ba484da4b21c762831a |
|
| MD5 | 282e474e2c03e7ed722c8b1a762881f0 |
|
| BLAKE2b-256 | f53aa3743344dbd508524e5ee6c370afaf04f97a4dcbaac36f3d27dc660da0a0 |