This commit is contained in:
yumoqing 2024-08-03 19:20:42 +08:00
parent 186224c00a
commit 655f33c989

View File

@ -11,6 +11,7 @@ async def generate(request, **kw):
if model=='whisper': if model=='whisper':
engine = g.whisper_engine engine = g.whisper_engine
resp = StreamResponse()
await resp.prepare(request) await resp.prepare(request)
line = await request.content.readline() line = await request.content.readline()
content = '' content = ''