fix webchat
Former-commit-id: 071fe40f209156f994c069507a2d53cc4f586d67
This commit is contained in:
@@ -144,8 +144,8 @@ class WebChatModel(ChatModel):
|
||||
messages,
|
||||
system,
|
||||
tools,
|
||||
images=[image],
|
||||
videos=[video],
|
||||
images=[image] if image else None,
|
||||
videos=[video] if video else None,
|
||||
max_new_tokens=max_new_tokens,
|
||||
top_p=top_p,
|
||||
temperature=temperature,
|
||||
|
||||
Reference in New Issue
Block a user