Merge branch 'vera' into main

This commit is contained in:
0Xiao0
2024-08-22 16:00:12 +08:00
28 changed files with 692 additions and 205 deletions

View File

@ -13,6 +13,9 @@ import base64
import copy
import ast
import io
from PIL import Image
from lmdeploy.serve.openai.api_client import APIClient
import io
from PIL import Image
from lmdeploy.serve.openai.api_client import APIClient
@ -24,6 +27,7 @@ def is_base64(value) -> bool:
except Exception:
return False
@singleton
@singleton
class VLMS(Blackbox):