Views
No views yet

so-vits-svc-fork)so-vits-svc-fork library (version 3.10.3+ / 4.0.0+).| Feature | Value |
|---|---|
| Speaker ID | quevedo (Index: 0) |
| Sampling Rate | 44100 Hz (44.1 kHz) |
| Base Architecture | VITS with SoftVC content encoder (HuBERT) |
| Fork Target Version | so-vits-svc-fork v3.x / v4.x |
| Pipeline Tag | Audio-to-Audio (Singing/Speech Voice Conversion) |
G_777.pth: Generator model weight file (Git LFS).config.json: Model configuration file detailing training hyperparameters and speaker metadata.app.py: Sleek, custom-themed interactive graphical interface built with Gradio.requirements.txt: Package requirements to run the inference and the Web UI.assets/banner.png: Cover image representing the model repository.1# 1. Clone the repository
2git clone https://huggingface.co/lagosproject/quevedo
3cd quevedo
4
5# 2. Create and activate a virtual environment
6python3 -m venv venv
7source venv/bin/activate # On Windows use: venv\Scripts\activate
8
9# 3. Install dependencies
10pip install -r requirements.txt[!IMPORTANT] You must have FFmpeg installed on your system for audio file processing. If you are on Ubuntu/Debian, runsudo apt install ffmpeg. On macOS/Windows, install it via your preferred package manager (e.g.brew install ffmpegorchoco install ffmpeg).
svc console script:1# Basic inference
2svc infer path/to/input.wav -m G_777.pth -c config.json -s quevedo -o output.wav
3
4# Transposed inference (+3 semitones for high pitch shifts)
5svc infer path/to/input.wav -m G_777.pth -c config.json -s quevedo -t 3 -fm crepe -o output.wav-m / --model-path: Path to the generator checkpoint (G_777.pth).-c / --config-path: Path to the configuration file (config.json).-s / --spk-list: Speaker name (quevedo).-t / --trans: Pitch shift in semitones (negative numbers shift pitch down, positive numbers shift pitch up).-fm / --f0-method: Pitch tracking algorithm. Recommended choices: crepe (highest accuracy) or dio (fastest).1from pathlib import Path
2from so_vits_svc_fork.inference.main import infer
3
4# Configure paths
5input_audio = Path("vocals_input.wav")
6output_audio = Path("quevedo_output.wav")
7model_path = Path("G_777.pth")
8config_path = Path("config.json")
9
10# Execute inference
11infer(
12 input_path=input_audio,
13 output_path=output_audio,
14 model_path=model_path,
15 config_path=config_path,
16 recursive=False,
17 speaker="quevedo",
18 transpose=0, # Adjust if input vocals are in a different octave
19 auto_predict_f0=False, # Keep False for singing (preserves melody), True for speaking
20 f0_method="crepe", # Crepe offers the highest quality pitch extraction
21 noise_scale=0.4
22)
23
24print(f"Conversion complete: {output_audio}")python app.pyhttp://localhost:7860 in your web browser.crepe, dio, harvest), and Noise Scale interactively.app.py, requirements.txt, config.json, G_777.pth and the assets/ folder).Auto Predict F0 to maintain the precise pitch notes of the original track.Auto Predict F0 so the model generates natural speech intonation.