mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
wwebsocket python
This commit is contained in:
parent
65c1878501
commit
6eb92a3536
@ -204,7 +204,7 @@ async def message(id):
|
||||
|
||||
meg = await websocket.recv()
|
||||
meg = json.loads(meg)
|
||||
print(meg)
|
||||
# print(meg)
|
||||
wav_name = meg.get("wav_name", "demo")
|
||||
text = meg["text"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user