Update minicpmv.py

This commit is contained in:
Cui Junbo
2024-06-13 03:20:32 +08:00
committed by GitHub
parent 235132f39b
commit b02de0693b

View File

@@ -84,7 +84,7 @@ class MiniCPM_V:
msgs = [{'role': 'user', 'content': content}]
res = self.model.chat(
image=image,
image=None,
msgs=msgs,
context=None,
tokenizer=self.tokenizer,