open GPTSo VITSV2Model File
fun openGPTSoVITSV2ModelFile(encoder: String, decoder1: String, decoder2: String, wave: String, ssl: String, chineseBert: String? = null, vocab: String? = null)
Opens a GPT-SoVITS V2 model.
Parameters
encoder
Path to the onnx file.
decoder1
Path to the onnx file.
decoder2
Path to the onnx file.
wave
Path to the onnx file.
ssl
Path to the onnx file.
chinese Bert
Path to the chinese-roberta.onnx file, or null to disable Chinese BERT.
vocab
Path to the vocab.txt file, or null to disable Chinese BERT.