Skip to content

Commit

Permalink
Fix CI (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Dec 1, 2023
1 parent 62dc3c3 commit 539b27e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sherpa-onnx/csrc/offline-tts-vits-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ class OfflineTtsVitsImpl : public OfflineTtsImpl {
}

private:
#if __ANDROID_API__ >= 9
void InitFrontend(AAssetManager *mgr) {
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
frontend_ = std::make_unique<PiperPhonemizeLexicon>(
Expand All @@ -179,6 +180,7 @@ class OfflineTtsVitsImpl : public OfflineTtsImpl {
model_->IsPiper());
}
}
#endif

void InitFrontend() {
if (model_->IsPiper() && !config_.model.vits.data_dir.empty()) {
Expand Down

0 comments on commit 539b27e

Please sign in to comment.