added backend which maintains ai instances;

added frontend as control panel
This commit is contained in:
wea_ondara
2024-04-24 19:40:03 +02:00
parent 9cafd8b1e9
commit 41474d474c
79 changed files with 9022 additions and 0 deletions

8
backend/ai/injector.py Normal file
View File

@@ -0,0 +1,8 @@
from injector import Binder, Module, singleton
from .services.AiService import AiService
class InjectorModule(Module):
def configure(self, binder: Binder) -> None:
binder.bind(AiService, to=AiService(), scope=singleton)