bugfixc
This commit is contained in:
parent
615ccf307a
commit
0947e2d0c5
@ -1,5 +1,6 @@
|
|||||||
from fastwhisper.init import load_fastwhisper
|
from fastwhisper.init import load_fastwhisper
|
||||||
from ahserver.webapp import webapp
|
from ahserver.webapp import webapp
|
||||||
|
from appPublic.registerfunction import RegisterFunction
|
||||||
|
|
||||||
async def transcrible(request, *args, **kw):
|
async def transcrible(request, *args, **kw):
|
||||||
env = request._run_ns
|
env = request._run_ns
|
||||||
@ -12,6 +13,9 @@ async def get_status(request, *args, **kw):
|
|||||||
return ret
|
return ret
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
|
rf = RegisterFunction()
|
||||||
|
rf.register('transcrible', transcrible)
|
||||||
|
rf.register('get_status', get_status)
|
||||||
load_fastwhisper()
|
load_fastwhisper()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user