Align badges horizontally

#2
by mishig HF staff - opened
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