Vision-CAIR mishig HF staff commited on
Commit
662621f
1 Parent(s): 439e050

Align badges horizontally (#2)

Browse files

- Align badges horizontally (a9a9fc36c91b1d24b67c9921746a0ec5d6c6f0ee)


Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def gradio_answer(chatbot, chat_state, img_list, num_beams, temperature):
102
 
103
  title = """<h1 align="center">Demo of MiniGPT-4</h1>"""
104
  description = """<h3>This is the demo of MiniGPT-4. Upload your images and start chatting!</h3>"""
105
- article = """<p><a href='https://minigpt-4.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a></p><p><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a></p><p><a href='https://github.com/TsuTikgiau/blip2-llm/blob/release_prepare/MiniGPT_4.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a></p>
106
  """
107
 
108
  #TODO show examples below
 
102
 
103
  title = """<h1 align="center">Demo of MiniGPT-4</h1>"""
104
  description = """<h3>This is the demo of MiniGPT-4. Upload your images and start chatting!</h3>"""
105
+ article = """<div style='display:flex; gap: 0.25rem; '><a href='https://minigpt-4.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a><a href='https://github.com/Vision-CAIR/MiniGPT-4'><img src='https://img.shields.io/badge/Github-Code-blue'></a><a href='https://github.com/TsuTikgiau/blip2-llm/blob/release_prepare/MiniGPT_4.pdf'><img src='https://img.shields.io/badge/Paper-PDF-red'></a></div>
106
  """
107
 
108
  #TODO show examples below