vlms updated

This commit is contained in:
gdw6463
2024-05-09 13:53:51 +08:00
parent 2fbceddae5
commit 3b36202b87
2 changed files with 1 additions and 5 deletions

View File

@ -37,10 +37,6 @@ class Blackbox(ABC):
async def fast_api_handler(self, request: Request) -> Response:
pass
@abstractmethod
async def vlms_api_handler(self, request: Request) -> Response:
pass
@abstractmethod
def __call__(self, *args, **kwargs):
pass

View File

@ -47,7 +47,7 @@ class VLMS(Blackbox):
return data.text
async def vlms_api_handler(self, request: Request) -> Response:
async def fast_api_handler(self, request: Request) -> Response:
try:
data = await request.json()
except: