bugfix
This commit is contained in:
parent
a41a7f7230
commit
fb2bd4041c
@ -66,7 +66,7 @@ async def generate(request, **kw):
|
|||||||
fname = float32array_to_wav(audio)
|
fname = float32array_to_wav(audio)
|
||||||
txt = await engine.stt(fname)
|
txt = await engine.stt(fname)
|
||||||
os.remove(fname)
|
os.remove(fname)
|
||||||
info(f'{audio=}, {txt=}')
|
info(f'{txt=}')
|
||||||
return {
|
return {
|
||||||
"status":"ok",
|
"status":"ok",
|
||||||
"content":txt
|
"content":txt
|
||||||
|
Loading…
Reference in New Issue
Block a user