Skip to content

Commit cb13b0a

Browse files
author
LittleMouse
committed
[fix] Fix wrong fields
1 parent c0bcfd4 commit cb13b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/asr_client_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def _get_client(self):
6464
{
6565
"model": self.config["model_name"],
6666
"response_format": "asr.utf-8",
67-
"input": "whisper.base64.stream",
67+
"input": "whisper.wav.stream.base64",
6868
"language": "zh",
6969
"enoutput": True
7070
}
@@ -111,7 +111,7 @@ async def create_transcription(self, audio_data: bytes, language: str = "zh", pr
111111
delta=chunk,
112112
index=index,
113113
finish=finish,
114-
object_type="asr.base64.stream"
114+
object_type="asr.wav.stream.base64"
115115
))
116116
transcription += "".join(responses)
117117
await asyncio.sleep(0.002)

0 commit comments

Comments
 (0)