openGPTSoVITSV2ProModelFile

fun openGPTSoVITSV2ProModelFile(encoder: String, decoder1: String, decoder2: String, ssl: String, vits: String, sv: String, chineseBert: String? = null, vocab: String? = null)

Opens a GPT-SoVITS V2 Pro model.

Parameters

encoder

Path to the onnx file.

decoder1

Path to the onnx file.

decoder2

Path to the onnx file.

ssl

Path to the onnx file.

vits

Path to the onnx file.

sv

Path to the onnx file.

chineseBert

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.