loadModel method
Check Out: https://www.youtube.com/@GENERAL_DEV
Implementation
@override
bool loadModel({
required String modelPath,
required String modelVocoderPath,
}) {
if (_isInIsolate) {}
{
Outetts._modelPath = modelPath;
Outetts._modelVocoderPath = modelVocoderPath;
}
if (_isInIsolate == false) {
return true;
}
if (isDeviceSupport() == false || isCrash()) {
return false;
}
return true;
}