mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
fix: singleton
This commit is contained in:
@ -7,7 +7,9 @@ from fastapi.responses import JSONResponse
|
||||
from ..asr.rapid_paraformer.utils import read_yaml
|
||||
from ..asr.rapid_paraformer import RapidParaformer
|
||||
from .blackbox import Blackbox
|
||||
from injector import singleton
|
||||
|
||||
@singleton
|
||||
class ASR(Blackbox):
|
||||
|
||||
def __init__(self, path = ".env.yaml") -> None:
|
||||
|
||||
Reference in New Issue
Block a user