Skip to content

Commit 9b1ea84

Browse files
committed
fix mypy
1 parent 8da54ed commit 9b1ea84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xinference/model/llm/pytorch/cogvlm2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def _image_to_piexl_values(image):
192192
)
193193
assistant = chat_history[i + 1]["content"]
194194
history.append((user, assistant))
195-
query = assistant
195+
query = assistant # type: ignore
196196
return query, history, [pixel_values]
197197

198198
def get_query_and_history(

0 commit comments

Comments
 (0)