fix: singleton

This commit is contained in:
superobk
2024-04-30 15:41:08 +08:00
parent 37f1c588cf
commit ddd00aeabb
14 changed files with 62 additions and 66 deletions

View File

@ -4,7 +4,8 @@ from fastapi import Request, Response, status
from fastapi.responses import JSONResponse
from .blackbox import Blackbox
from injector import singleton
@singleton
class TextAndImage(Blackbox):
def __call__(self, *args, **kwargs):