Spaces:
Runtime error
Runtime error
Commit
•
dd24d8c
1
Parent(s):
b3a27e6
update
Browse files
app.py
CHANGED
@@ -108,8 +108,12 @@ def build_demo():
|
|
108 |
with gr.Column():
|
109 |
gr.Image("./barchart.jpeg")
|
110 |
|
111 |
-
gr.Markdown("
|
112 |
-
|
|
|
|
|
|
|
|
|
113 |
chatbot = gr.Chatbot(line_breaks=True)
|
114 |
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload images. Please use <image> to indicate the position of uploaded images", show_label=True)
|
115 |
|
|
|
108 |
with gr.Column():
|
109 |
gr.Image("./barchart.jpeg")
|
110 |
|
111 |
+
gr.Markdown("""## Chat with Mantis
|
112 |
+
Mantis supports interleaved text-image input format, where you can simply use the placeholder `<image>` to indicate the position of uploaded images.
|
113 |
+
The model is optimized for multi-image reasoning, while preserving the ability to chat about text and images in a single conversation.
|
114 |
+
(The model currently serving is [Mantis-bakllava-7b](https://huggingface.co/TIGER-Lab/Mantis-bakllava-7b))
|
115 |
+
""")
|
116 |
+
|
117 |
chatbot = gr.Chatbot(line_breaks=True)
|
118 |
chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image"], placeholder="Enter message or upload images. Please use <image> to indicate the position of uploaded images", show_label=True)
|
119 |
|