mirror of
https://github.com/shirayu/whispering.git
synced 2024-11-25 10:21:00 +00:00
Fix
This commit is contained in:
parent
8f0e03de7f
commit
62db47f68e
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue