Skip to content

ArkanDash/JSON-RVC-Inference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON RVC Inference

Information

JSON RVC Inference is the same advanced version of RVC with JSON file to select desired model to download and load on the inference. Best use case for google colab enviroment.

Please support the original RVC. This inference won't be possible to make without it.
Original RVC Repository

Features

  • Support V1 & V2 Model ✅
  • Model downloader using JSON file [Internet required for downloading voice model] ✅
  • Youtube Audio Downloader ✅
  • Voice Splitter [Internet required for downloading splitter model] ✅
  • Microphone Support ✅
  • TTS Support ✅

Installation

  1. Install Pytorch

    • CPU only (any OS)
    pip install torch torchvision torchaudio
    • Nvidia (CUDA used)
    # For Windows (Due to flashv2 not supported in windows, Issue: https://github.com/Dao-AILab/flash-attention/issues/345#issuecomment-1747473481)
    pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cu121
    # Other (Linux, etc)
    pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
  2. Install Dependencies

pip install -r requirements.txt
  1. Install ffmpeg

  2. Download Pre-model

# Hubert Model
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/hubert_base.pt
# Save it to /assets/hubert/hubert_base.pt

# RVMPE (rmvpe pitch extraction, Optional)
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/rmvpe.pt
# Save it to /assets/rvmpe/rmvpe.pt

Run WebUI

For Windows:

Open run.bat

For Other:

python infer.py