Upload folder using huggingface_hub
Browse files
modeling_internvl_chat.py
CHANGED
@@ -313,8 +313,8 @@ class InternVLChatModel(PreTrainedModel):
|
|
313 |
if return_history:
|
314 |
return response, history
|
315 |
else:
|
316 |
-
query_to_print = query.replace(image_tokens, '<image>')
|
317 |
-
print(query_to_print, response)
|
318 |
return response
|
319 |
return response
|
320 |
|
|
|
313 |
if return_history:
|
314 |
return response, history
|
315 |
else:
|
316 |
+
# query_to_print = query.replace(image_tokens, '<image>')
|
317 |
+
# print(query_to_print, response)
|
318 |
return response
|
319 |
return response
|
320 |
|