From 40f7291508bd44ac4d050fce414b346cf2164a80 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 6 Nov 2025 11:06:09 +0800 Subject: [PATCH] bugfix --- app/fastwhisper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fastwhisper.py b/app/fastwhisper.py index eb35886..e97f7ac 100644 --- a/app/fastwhisper.py +++ b/app/fastwhisper.py @@ -7,7 +7,7 @@ from ahserver.serverenv import ServerEnv from appPublic.registerfunction import RegisterFunction -async def transcrible(request, *args, **kw): +async def transcribe(request, *args, **kw): env = request._run_ns ret = await env.fastwhister.submit_task(env.params_kw) return ret @@ -29,7 +29,7 @@ async def ahapp_built(app): def init(): rf = RegisterFunction() - rf.register('transcrible', transcrible) + rf.register('transcribe', transcribe) rf.register('ahapp_built', ahapp_built) rf.register('get_status', get_status) load_fastwhisper()