bugfix
This commit is contained in:
parent
821adc10a8
commit
61ecdfea36
@ -20,7 +20,7 @@ async def generate(request, **kw):
|
||||
info(f'read from request stream {line=}')
|
||||
txt = await engine.stt(line)
|
||||
content += txt
|
||||
d = json.dumps({'content':content})
|
||||
d = json.dumps({'content':content}) + '\n'
|
||||
btxt = d.encode('utf8')
|
||||
await resp.write(btxt)
|
||||
await resp.drain()
|
||||
|
Loading…
Reference in New Issue
Block a user