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()