Skip to content

Commit

Permalink
[android] fix lint (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhendong authored Jan 16, 2024
1 parent 98ce044 commit c5ec709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/android/app/src/main/cpp/wetts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ void init(JNIEnv* env, jobject, jstring jModelDir) {
std::make_shared<wetts::G2pEn>(cmudict, g2p_en_model, g2p_en_sym);
auto g2p_prosody = std::make_shared<wetts::G2pProsody>(
g2p_prosody_model, vocab, char2pinyin, pinyin2id, pinyin2phones, g2p_en);
model = std::make_shared<wetts::TtsModel>(vits_model, speaker2id, phone2id, FLAGS_sampling_rate,
tn, g2p_prosody);
model = std::make_shared<wetts::TtsModel>(
vits_model, speaker2id, phone2id, FLAGS_sampling_rate, tn, g2p_prosody);
}

void run(JNIEnv* env, jobject, jstring jText, jstring jSpeaker) {
Expand Down

0 comments on commit c5ec709

Please sign in to comment.