This commit is contained in:
Yuta Hayashibe 2022-10-02 22:15:45 +09:00
parent 8f0e03de7f
commit 62db47f68e

View file

@ -41,7 +41,8 @@ async def transcribe_from_mic_and_send(
):
async with websockets.connect(uri, max_size=999999999) as ws: # type:ignore
logger.debug("Sent context")
await ws.send(ctx.json())
v: str = ctx.json()
await ws.send("""{"context": """ + v + """}""")
idx: int = 0
while True: