diff --git a/backend/main/xiaozhi-server/core/providers/tts/sherpa_tts.py b/backend/main/xiaozhi-server/core/providers/tts/sherpa_tts.py index ada9fda..04b2e5c 100644 --- a/backend/main/xiaozhi-server/core/providers/tts/sherpa_tts.py +++ b/backend/main/xiaozhi-server/core/providers/tts/sherpa_tts.py @@ -23,7 +23,7 @@ class TTSProvider(TTSProviderBase): if not os.path.exists(model_file): model_file = f"{model_dir}/model.onnx" - num_threads = int(config.get("num_threads", 4)) + num_threads = int(config.get("num_threads", 8)) tts_config = sherpa_onnx.OfflineTtsConfig( model=sherpa_onnx.OfflineTtsModelConfig(