Spaces:
Runtime error
Runtime error
DongfuJiang
commited on
Commit
•
4cc7c4e
1
Parent(s):
d60838a
update
Browse files- app.py +8 -5
- barchart.jpeg +0 -0
- barchart_single_image_vqa.jpeg +0 -0
app.py
CHANGED
@@ -98,12 +98,15 @@ def build_demo():
|
|
98 |
with gr.Blocks() as demo:
|
99 |
|
100 |
with gr.Row():
|
101 |
-
gr.
|
102 |
-
|
|
|
103 |
|
104 |
-
|
105 |
-
|
106 |
-
|
|
|
|
|
107 |
chatbot = gr.Chatbot(line_breaks=True)
|
108 |
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)
|
109 |
|
|
|
98 |
with gr.Blocks() as demo:
|
99 |
|
100 |
with gr.Row():
|
101 |
+
with gr.Column():
|
102 |
+
gr.Markdown(""" # Mantis
|
103 |
+
Mantis 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.
|
104 |
|
105 |
+
| [Github](https://github.com/TIGER-AI-Lab/Mantis) | [Blog](https://tiger-ai-lab.github.io/Blog/mantis) | [Models](https://huggingface.co/collections/TIGER-Lab/mantis-6619b0834594c878cdb1d6e4) |
|
106 |
+
""")
|
107 |
+
gr.Image("./barchart_single_image_vqa.jpeg")
|
108 |
+
with gr.Column():
|
109 |
+
gr.Image("./barchart.jpeg")
|
110 |
chatbot = gr.Chatbot(line_breaks=True)
|
111 |
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)
|
112 |
|
barchart.jpeg
CHANGED
barchart_single_image_vqa.jpeg
ADDED