We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257e365 commit 755c812Copy full SHA for 755c812
main/xiaozhi-server/core/providers/asr/vosk.py
@@ -13,8 +13,8 @@
13
class ASRProvider(ASRProviderBase):
14
def __init__(self, config: dict, delete_audio_file: bool = True):
15
super().__init__()
16
- self.interface_type = InterfaceType.NON_STREAM
17
- self.model_path = config.get("model_path", "models/vosk/vosk-model-small-cn-0.22")
+ self.interface_type = InterfaceType.LOCAL
+ self.model_path = config.get("model_path")
18
self.output_dir = config.get("output_dir", "tmp/")
19
self.delete_audio_file = delete_audio_file
20
0 commit comments