Fix building APK (#286)

This commit is contained in:
Fangjun Kuang
2023-08-18 15:28:06 +08:00
committed by GitHub
parent e955f9c752
commit 49ec7e8f57
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13 FATAL_ERROR) cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
project(sherpa-onnx) project(sherpa-onnx)
set(SHERPA_ONNX_VERSION "1.7.10") set(SHERPA_ONNX_VERSION "1.7.11")
# Disable warning about # Disable warning about
# #

View File

@@ -177,7 +177,7 @@ class MainActivity : AppCompatActivity() {
// Please change getModelConfig() to add new models // Please change getModelConfig() to add new models
// See https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html // See https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html
// for a list of available models // for a list of available models
val type = 5 val type = 0
println("Select model type ${type}") println("Select model type ${type}")
val config = OnlineRecognizerConfig( val config = OnlineRecognizerConfig(
featConfig = getFeatureConfig(sampleRate = sampleRateInHz, featureDim = 80), featConfig = getFeatureConfig(sampleRate = sampleRateInHz, featureDim = 80),