正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -177,7 +177,7 @@ class MainActivity : AppCompatActivity() { | @@ -177,7 +177,7 @@ class MainActivity : AppCompatActivity() { | ||
| 177 | // Please change getModelConfig() to add new models | 177 | // Please change getModelConfig() to add new models |
| 178 | // See https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html | 178 | // See https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html |
| 179 | // for a list of available models | 179 | // for a list of available models |
| 180 | - val type = 5 | 180 | + val type = 0 |
| 181 | println("Select model type ${type}") | 181 | println("Select model type ${type}") |
| 182 | val config = OnlineRecognizerConfig( | 182 | val config = OnlineRecognizerConfig( |
| 183 | featConfig = getFeatureConfig(sampleRate = sampleRateInHz, featureDim = 80), | 183 | featConfig = getFeatureConfig(sampleRate = sampleRateInHz, featureDim = 80), |
-
请 注册 或 登录 后发表评论