Aliayub1995
commited on
Update videollama2/__init__.py
Browse files- 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
|