mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-05 18:29:18 +08:00
Update minicpmv.py
This commit is contained in:
@@ -84,7 +84,7 @@ class MiniCPM_V:
|
|||||||
msgs = [{'role': 'user', 'content': content}]
|
msgs = [{'role': 'user', 'content': content}]
|
||||||
|
|
||||||
res = self.model.chat(
|
res = self.model.chat(
|
||||||
image=image,
|
image=None,
|
||||||
msgs=msgs,
|
msgs=msgs,
|
||||||
context=None,
|
context=None,
|
||||||
tokenizer=self.tokenizer,
|
tokenizer=self.tokenizer,
|
||||||
|
|||||||
Reference in New Issue
Block a user