Fix model loading: switch to zh2025 model as recommended by logs
This commit is contained in:
parent
58056c6c09
commit
9053132874
|
|
@ -82,9 +82,9 @@ class _SpeechRecognitionPageState extends State<SpeechRecognitionPage> {
|
|||
),
|
||||
);
|
||||
|
||||
// 初始化服务 - 使用2023年模型
|
||||
// 初始化服务 - 使用2025年最新模型(推荐)
|
||||
final success =
|
||||
await _speechService.initializeWithDefaultModel(ModelConfig.zh2023);
|
||||
await _speechService.initializeWithDefaultModel(ModelConfig.zh2025);
|
||||
|
||||
if (success) {
|
||||
// 监听识别结果
|
||||
|
|
|
|||
Loading…
Reference in New Issue