mishig HF staff commited on
Commit
a9a9fc3
β€’
1 Parent(s): 439e050

Align badges horizontally

Browse files

Awesome demo btw. This PR aligns the demos horizontally

![image.png](https://s3.amazonaws.com/moonup/production/uploads/60a551a34ecc5d054c8ad93e/qp38lJfyaQ87ZGwfE4630.png)

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