修复test_page.html没有hello消息,导致缺失audio_format的bug (#1151)

This commit is contained in:
hrz
2025-05-08 15:08:11 +08:00
committed by GitHub
parent af3d00662e
commit 98bfe863fe
9 changed files with 116 additions and 64 deletions
@@ -20,6 +20,7 @@ logger = setup_logging()
class ASRProvider(ASRProviderBase):
def __init__(self, config: dict, delete_audio_file: bool = True):
super().__init__()
self.app_id = config.get("app_id")
self.api_key = config.get("api_key")
self.secret_key = config.get("secret_key")