caption ui redesign

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-02-15 12:57:19 -05:00
parent af3a5d9866
commit e95bd93f67
12 changed files with 186 additions and 109 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ def post_vqa(req: models.ReqVQA):
image = helpers.decode_base64_to_image(req.image)
image = image.convert('RGB')
from modules.interrogate import vqa
answer = vqa.interrogate(req.question, image, req.model)
answer = vqa.interrogate(req.question, '', image, req.model)
return models.ResVQA(answer=answer)
def post_unload_checkpoint():