openlamm commited on
Commit
91abbc9
·
1 Parent(s): 1b115bb

update layout

Browse files
Files changed (1) hide show
  1. app.py +19 -6
app.py CHANGED
@@ -152,19 +152,32 @@ def reset_state():
152
 
153
 
154
  with gr.Blocks(scale=4) as demo:
155
- gr.HTML("""<h1><img src="images/lamm.png"/></h1>""")
156
  gr.Markdown(
157
  """
158
- ![LAMM](images/lamm.png)
159
  <p>
160
- <img src="images/lamm.png"/>
161
- <a href="https://arxiv.org/pdf/2306.06687.pdf" target="_blank"><img src="https://img.shields.io/badge/arxiv-PDF-red"/></a> <a href="https://openlamm.github.io" target="_blank"><img src="https://img.shields.io/badge/LAMM-Page-blue"/></a> <a href="https://www.youtube.com/watch?v=M7XlIe8hhPk" target="_blank"><img src="https://img.shields.io/badge/video-Youtube-red"/></a> <a href="https://www.bilibili.com/video/BV1kN411D7kt/?share_source=copy_web&vd_source=ab4c734425ed0114898300f2c037ac0b" target="_blank"><img src="https://img.shields.io/badge/video-Bilibili-blue"/> <a href="https://opendatalab.com/LAMM" target="_blank"><img src="https://img.shields.io/badge/Data-Download-green"/></a> <a href="https://huggingface.co/openlamm" target="_blank"><img src="https://img.shields.io/badge/Models-huggingface-yellow"/></a> <a href="https://github.com/OpenLAMM/LAMM" target="_blank"><img src="https://img.shields.io/badge/Repo-Github-white"/></a> <img src="https://img.shields.io/github/stars/OpenLAMM/LAMM.svg?style=social&label=Star"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  </p>
163
- Start typing below to see the output.
164
  """)
165
 
166
  with gr.Row(scale=1):
167
- with gr.Column(scale=1):
168
  image_path = gr.Image(type="filepath", label="Image", value=None)
169
  chatbot = gr.Chatbot(scale=1).style(height=600)
170
 
 
152
 
153
 
154
  with gr.Blocks(scale=4) as demo:
155
+ gr.HTML("""<h1>LAMM: Language-Assisted Multi-Modal Instruction-Tuning Dataset, Framework, and Benchmark</h1>""")
156
  gr.Markdown(
157
  """
 
158
  <p>
159
+
160
+ <a href="https://arxiv.org/pdf/2306.06687.pdf" target="_blank"><img src="https://img.shields.io/badge/arxiv-PDF-red"/></a>
161
+
162
+ <a href="https://openlamm.github.io" target="_blank"><img src="https://img.shields.io/badge/LAMM-HomePage-blue"/></a>
163
+
164
+ <a href="https://opendatalab.com/LAMM" target="_blank"><img src="https://img.shields.io/badge/LAMM-Dataset-green"/></a>
165
+
166
+ <a href="https://www.youtube.com/watch?v=M7XlIe8hhPk" target="_blank"><img src="https://img.shields.io/badge/video-Youtube-red"/></a>
167
+
168
+ <a href="https://www.bilibili.com/video/BV1kN411D7kt/?share_source=copy_web&vd_source=ab4c734425ed0114898300f2c037ac0b" target="_blank"><img src="https://img.shields.io/badge/video-Bilibili-blue"/></a>
169
+
170
+ <a href="https://github.com/OpenLAMM/LAMM" target="_blank"><img src="https://img.shields.io/badge/Repo-Github-white"/></a>
171
+
172
+ <a href="https://huggingface.co/openlamm" target="_blank"><img src="https://img.shields.io/badge/Models-huggingface-yellow"/></a>
173
+
174
+ <img src="https://img.shields.io/github/stars/OpenLAMM/LAMM.svg?style=social&label=Star"/>
175
  </p>
176
+ Drop your image & Start talking with LAMM models.
177
  """)
178
 
179
  with gr.Row(scale=1):
180
+ with gr.Column(scale=1).style(height=600):
181
  image_path = gr.Image(type="filepath", label="Image", value=None)
182
  chatbot = gr.Chatbot(scale=1).style(height=600)
183