global lancosz

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-02-10 11:24:05 -05:00
parent 6270fd829c
commit 640aff898c
16 changed files with 214 additions and 65 deletions
+2
View File
@@ -315,6 +315,8 @@ def interrogate(question, image, model_name):
image.thumbnail((768, 768), Image.Resampling.HAMMING)
if image.mode != 'RGB':
image = image.convert('RGB')
from modules import modelloader
modelloader.hf_login()
try:
if model_name is None:
shared.log.error(f'Interrogate: type=vlm model="{model_name}" no model selected')