openGPTSoVITSV3ModelFile

fun openGPTSoVITSV3ModelFile(encoder: String, decoder1: String, decoder2: String, ssl: String, vq: String, cfm: String, bigvgan: String, chineseBert: String? = null, vocab: String? = null)

Opens a GPT-SoVITS V3 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.

vq

Path to the onnx file.

cfm

Path to the onnx file.

bigvgan

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.