find a bug in load_images func

#3
by menglan - opened

in load_images func, this line code will go wrong:

elif isinstance(image_path, str) and image_path.startswith("http://") or image_path.startswith("https://"):

it should be

elif isinstance(image_path, str) and (image_path.startswith("http://") or image_path.startswith("https://")):

and it is different from https://github.com/DAMO-NLP-SG/VideoLLaMA3/blob/main/inference/transformers_api/processing_videollama3.py#L294

Sign up or log in to comment