DongfuJiang commited on
Commit
d74a248
1 Parent(s): 773afd7
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -106,16 +106,11 @@ def bot(history):
106
  def build_demo():
107
  with gr.Blocks() as demo:
108
 
109
- with gr.Row():
110
- with gr.Column():
111
- gr.Markdown(""" # Mantis
112
- 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.
113
-
114
- | [Github](https://github.com/TIGER-AI-Lab/Mantis) | [Models](https://huggingface.co/collections/TIGER-Lab/mantis-6619b0834594c878cdb1d6e4) |
115
- """)
116
- # gr.Image("./barchart_single_image_vqa.jpeg")
117
- with gr.Column():
118
- gr.Image("./barchart.jpeg")
119
 
120
  gr.Markdown("""## Chat with Mantis
121
  Mantis supports interleaved text-image input format, where you can simply use the placeholder `<image>` to indicate the position of uploaded images.
 
106
  def build_demo():
107
  with gr.Blocks() as demo:
108
 
109
+ gr.Markdown(""" # Mantis
110
+ 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.
111
+
112
+ [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)
113
+ """)
 
 
 
 
 
114
 
115
  gr.Markdown("""## Chat with Mantis
116
  Mantis supports interleaved text-image input format, where you can simply use the placeholder `<image>` to indicate the position of uploaded images.