Update iOS and Android demos to include the latest streaming zipformer (#189)

This commit is contained in:
Fangjun Kuang
2023-06-27 18:11:37 +08:00
committed by GitHub
parent dab22c4764
commit b2e0c4c9c2
7 changed files with 76 additions and 4 deletions

View File

@@ -85,7 +85,9 @@ class ViewController: UIViewController {
// You can also modify Model.swift to add new pre-trained models from
// https://k2-fsa.github.io/sherpa/ncnn/pretrained_models/index.html
let modelConfig = getBilingualStreamZhEnZipformer20230220()
// let modelConfig = getBilingualStreamZhEnZipformer20230220()
// let modelConfig = getZhZipformer20230615()
let modelConfig = getEnZipformer20230626()
let featConfig = sherpaOnnxFeatureConfig(
sampleRate: 16000,