8 lines
221 B
Plaintext
8 lines
221 B
Plaintext
|
debug(f'{params_kw=}')
|
||
|
async def g():
|
||
|
speaker = params_kw.speaker or 'main'
|
||
|
async for d in infer_stream(params_kw.prompt, speaker):
|
||
|
yield entire_url('/idfile') + f'?path={d}'
|
||
|
|
||
|
return await stream_response(request, g)
|