Aliayub1995 commited on
Commit
5073d9c
·
verified ·
1 Parent(s): 6f422a4

Update videollama2/__init__.py

Browse files
Files changed (1) hide show
  1. videollama2/__init__.py +1 -0
videollama2/__init__.py CHANGED
@@ -48,6 +48,7 @@ def mm_infer(url, instruct, model, tokenizer, modal='video', **kwargs):
48
  """
49
  image_or_video = 'Temp.mp4'
50
  gdown.download(url, output, quiet=False)
 
51
  # 1. text preprocess (tag process & generate prompt).
52
  if modal == 'image':
53
  modal_token = DEFAULT_IMAGE_TOKEN
 
48
  """
49
  image_or_video = 'Temp.mp4'
50
  gdown.download(url, output, quiet=False)
51
+ logging.info(f"video downloaded form: {url}")
52
  # 1. text preprocess (tag process & generate prompt).
53
  if modal == 'image':
54
  modal_token = DEFAULT_IMAGE_TOKEN