From d4291bff6080dbe96877bd49cf36a01e82582f7f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 7 Sep 2024 11:21:48 +0800 Subject: [PATCH] bugfix --- app/asr_engine.py | 2 ++ 1 file changed, 2 insertions(+) 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