mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
vlms updated
This commit is contained in:
@ -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
|
||||
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user