This commit is contained in:
yumoqing 2024-08-04 18:42:22 +08:00
parent 6f06b223a2
commit eb9650b7ec

View File

@ -28,8 +28,8 @@ async def generate(request, **kw):
txt = await engine.stt(audiob64) txt = await engine.stt(audiob64)
info(f'{audiob64=}, {txt=}') info(f'{audiob64=}, {txt=}')
return { return {
"status':'ok', "status":"ok",
"content':txt "content":txt
} }
except Exception as e: except Exception as e:
exception(f'{e}') exception(f'{e}')