Using RVC
Last updated
Last updated
You can find the full documentation for this project on .
Clone the repository and navigate to the project directory.
Execute the run.sh
script to set up the environment.
After running the script, the inference web interface will open. You can disconnect it once it's loaded.
rvc_fastapi.py
for CORS supportTo allow CORS (Cross-Origin Resource Sharing), add the following two lines to rvc_fastapi.py
:
logs
and assets/weights
directoriesEnsure the rvc/logs
directory contains the following file:
Index file: The index file for your voice model, named something like added_IVF1377_Flat_nprobe_1_{model_name}_v2.index
.
Ensure the rvc/assets/weights
directory contains the following file:
Model file: The voice model file, with the extension .pth
, for example {model_name}.pth
.
Once the changes are made and the model is placed in the appropriate directories, run the FastAPI server using the following command:
You can get voice models from .