7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
# normal mode
|
|
speaker = params_kw.speaker or 'main'
|
|
path = await infer(params_kw.prompt, speaker)
|
|
ret = entire_url(f'/idfile?path={path}')
|
|
debug(f'inference/index.dspy:return url={ret}')
|
|
return ret
|