czczup commited on
Commit
b199d4b
1 Parent(s): 026bc32

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. modeling_internvl_chat.py +1 -1
modeling_internvl_chat.py CHANGED
@@ -381,7 +381,7 @@ class InternVLChatModel(PreTrainedModel):
381
  img_context_token_id = tokenizer.convert_tokens_to_ids(IMG_CONTEXT_TOKEN)
382
  self.img_context_token_id = img_context_token_id
383
 
384
- from internvl.conversation import get_conv_template
385
 
386
  template = get_conv_template(self.template)
387
  if history is None:
 
381
  img_context_token_id = tokenizer.convert_tokens_to_ids(IMG_CONTEXT_TOKEN)
382
  self.img_context_token_id = img_context_token_id
383
 
384
+ from .conversation import get_conv_template
385
 
386
  template = get_conv_template(self.template)
387
  if history is None: