Spaces:
Runtime error
Runtime error
Commit ·
d74a248
1
Parent(s): 773afd7
update
Browse files105 unmodified lines106107108109110111112113114115116117118119120121105 unmodified linesdef build_demo():with gr.Blocks() as demo:with gr.Row():with gr.Column():gr.Markdown(""" # MantisMantis is a multimodal conversational AI model that can chat with users about images and text. It's optimized for multi-image reasoning, where inverleaved text and images can be used to generate responses.| [Github](https://github.com/TIGER-AI-Lab/Mantis) | [Models](https://huggingface.co/collections/TIGER-Lab/mantis-6619b0834594c878cdb1d6e4) |""")# gr.Image("./barchart_single_image_vqa.jpeg")with gr.Column():gr.Image("./barchart.jpeg")gr.Markdown("""## Chat with MantisMantis supports interleaved text-image input format, where you can simply use the placeholder `<image>` to indicate the position of uploaded images.105 unmodified lines106107108109110111112113114115116105 unmodified linesdef build_demo():with gr.Blocks() as demo:gr.Markdown(""" # MantisMantis is a multimodal conversational AI model that can chat with users about images and text. It's optimized for multi-image reasoning, where inverleaved text and images can be used to generate responses.[Paper](https://arxiv.org/abs/2405.01483) | [Github](https://github.com/TIGER-AI-Lab/Mantis) | [Models](https://huggingface.co/collections/TIGER-Lab/mantis-6619b0834594c878cdb1d6e4) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/Mantis-Instruct)""")gr.Markdown("""## Chat with MantisMantis supports interleaved text-image input format, where you can simply use the placeholder `<image>` to indicate the position of uploaded images.
app.py+5-10