Using RVC
Setting Up RVC Locally
Step 1 - Clone the repository
git clone [email protected]:SocAIty/Retrieval-based-Voice-Conversion-FastAPI.git rvc
cd rvcStep 2 - Run the setup script
sh ./run.shStep 3 - Open and disconnect the web interface
Step 4 - Modify rvc_fastapi.py for CORS support
rvc_fastapi.py for CORS supportfrom fastapi.middleware.cors import CORSMiddleware
app.add_middleware(CORSMiddleware, allow_origins=["*"])Step 5 - Place your model files in the logs and assets/weights directories
logs and assets/weights directoriesStep 6 - Run the FastAPI server
Make sure RVC is enabled alongside other TTS systems
Last updated