Allen Park commited on
Commit
b0e4079
·
1 Parent(s): 8694806

update styling

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -124,13 +124,13 @@ OLDER_HEADER = f"""
124
  </table>
125
  """
126
 
127
- HEADER = f"""
128
- <div style="width: 100%; display: flex; flex-direction: column; gap: 8px; position: relative">
129
  <div style="display: flex; justify-content: space-between">
130
  <a href="https://www.patronus.ai">
131
- <img src="https://postimage.me/images/2024/07/31/FullLogo_ColorDefault.png" width="125">
132
  </a>
133
- <div style="display: flex; gap: 4px;">
134
  <a href="https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct">
135
  <img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model_Card-Huggingface-orange" height="20">
136
  </a>
@@ -144,9 +144,10 @@ HEADER = f"""
144
  </div>
145
  <div>
146
  <h1>Lynx 8B v1.1 & Lynx 70B</h1>
147
- <h1>Patronus Lynx Demo</h1>
148
  </div>
149
  </div>
 
150
 
151
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.
152
 
 
124
  </table>
125
  """
126
 
127
+ HEADER = """
128
+ <div style="width: 100%; display: flex; flex-direction: column; gap: 24px; padding-top: 24px; position: relative">
129
  <div style="display: flex; justify-content: space-between">
130
  <a href="https://www.patronus.ai">
131
+ <img src="https://postimage.me/images/2024/07/31/FullLogo_ColorDefault.png" width="250">
132
  </a>
133
+ <div style="display: flex; gap: 12px;">
134
  <a href="https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct">
135
  <img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model_Card-Huggingface-orange" height="20">
136
  </a>
 
144
  </div>
145
  <div>
146
  <h1>Lynx 8B v1.1 & Lynx 70B</h1>
147
+ <h2>Patronus Lynx Demo</h2>
148
  </div>
149
  </div>
150
+ <hr>
151
 
152
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.
153