update layout
Browse files151 unmodified lines152153154155156157158159160161162163164165166167168169170151 unmodified lineswith gr.Blocks(scale=4) as demo:gr.HTML("""<h1><img src="images/lamm.png"/></h1>""")gr.Markdown("""<p><img src="images/lamm.png"/><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"/></p>Start typing below to see the output.""")with gr.Row(scale=1):with gr.Column(scale=1):image_path = gr.Image(type="filepath", label="Image", value=None)chatbot = gr.Chatbot(scale=1).style(height=600)151 unmodified lines152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183151 unmodified lineswith gr.Blocks(scale=4) as demo:gr.HTML("""<h1>LAMM: Language-Assisted Multi-Modal Instruction-Tuning Dataset, Framework, and Benchmark</h1>""")gr.Markdown("""<p><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-HomePage-blue"/></a><a href="https://opendatalab.com/LAMM" target="_blank"><img src="https://img.shields.io/badge/LAMM-Dataset-green"/></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><a href="https://github.com/OpenLAMM/LAMM" target="_blank"><img src="https://img.shields.io/badge/Repo-Github-white"/></a><a href="https://huggingface.co/openlamm" target="_blank"><img src="https://img.shields.io/badge/Models-huggingface-yellow"/></a><img src="https://img.shields.io/github/stars/OpenLAMM/LAMM.svg?style=social&label=Star"/></p>Drop your image & Start talking with LAMM models.""")with gr.Row(scale=1):with gr.Column(scale=1).style(height=600):image_path = gr.Image(type="filepath", label="Image", value=None)chatbot = gr.Chatbot(scale=1).style(height=600)
app.py+19-6