czczup commited on
Commit
884f868
1 Parent(s): 2942258

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_internvl_chat.py +2 -2
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