diff --git a/app/asr_engine.py b/app/asr_engine.py index 61a237f..dab5e12 100644 --- a/app/asr_engine.py +++ b/app/asr_engine.py @@ -72,3 +72,5 @@ async def generate(request, kw): 'message':f'{e}' } +g = ServerEnv() +g.generate = generate