Fix CI (#456)
This commit is contained in:
@@ -168,6 +168,7 @@ class OfflineTtsVitsImpl : public OfflineTtsImpl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
#if __ANDROID_API__ >= 9
|
||||||
void InitFrontend(AAssetManager *mgr) {
|
void InitFrontend(AAssetManager *mgr) {
|
||||||
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
|
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
|
||||||
frontend_ = std::make_unique<PiperPhonemizeLexicon>(
|
frontend_ = std::make_unique<PiperPhonemizeLexicon>(
|
||||||
@@ -179,6 +180,7 @@ class OfflineTtsVitsImpl : public OfflineTtsImpl {
|
|||||||
model_->IsPiper());
|
model_->IsPiper());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void InitFrontend() {
|
void InitFrontend() {
|
||||||
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
|
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user