# This script includes codes copied directly from https://huggingface.co/spaces/TIGER-Lab/Mantis from .modeling_llava import LlavaForConditionalGeneration, MLlavaForConditionalGeneration from .processing_llava import MLlavaProcessor from .configuration_llava import LlavaConfig from .utils import chat_mllava, prepare_inputs