Spaces:
Runtime error
Runtime error
DongfuJiang
commited on
Commit
•
b3a27e6
1
Parent(s):
65c1a96
update
Browse files
app.py
CHANGED
@@ -104,9 +104,12 @@ def build_demo():
|
|
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 |
|
|
|
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 |
+
|
111 |
+
gr.Markdown("---")
|
112 |
+
gr.Markdown("## Chat with Mantis")
|
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 |
|