bugfix
This commit is contained in:
parent
2a7f89369d
commit
40f7291508
@ -7,7 +7,7 @@ from ahserver.serverenv import ServerEnv
|
|||||||
|
|
||||||
from appPublic.registerfunction import RegisterFunction
|
from appPublic.registerfunction import RegisterFunction
|
||||||
|
|
||||||
async def transcrible(request, *args, **kw):
|
async def transcribe(request, *args, **kw):
|
||||||
env = request._run_ns
|
env = request._run_ns
|
||||||
ret = await env.fastwhister.submit_task(env.params_kw)
|
ret = await env.fastwhister.submit_task(env.params_kw)
|
||||||
return ret
|
return ret
|
||||||
@ -29,7 +29,7 @@ async def ahapp_built(app):
|
|||||||
|
|
||||||
def init():
|
def init():
|
||||||
rf = RegisterFunction()
|
rf = RegisterFunction()
|
||||||
rf.register('transcrible', transcrible)
|
rf.register('transcribe', transcribe)
|
||||||
rf.register('ahapp_built', ahapp_built)
|
rf.register('ahapp_built', ahapp_built)
|
||||||
rf.register('get_status', get_status)
|
rf.register('get_status', get_status)
|
||||||
load_fastwhisper()
|
load_fastwhisper()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user