Allen Park commited on
Commit
91ad5b7
·
1 Parent(s): f15b0bc

fix(update HEADER html to include patronus logo and href)

Browse files
Files changed (1) hide show
  1. app.py +31 -18
app.py CHANGED
@@ -71,26 +71,39 @@ with open('logo.svg', 'r') as file:
71
  HEADER = f"""
72
  # Patronus Lynx Demo
73
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
74
- <tr style="height:50px;">
75
- <td style="text-align: center;">
76
- <a href="https://www.patronus.ai">
77
- {logo_svg}
78
- </a>
79
- </td>
80
- </tr>
 
 
 
 
 
 
 
81
  </table>
82
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
83
- <tr style="height:30px;">
84
- <td style="text-align: center;">
85
- <a href="https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct"><img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model_Card-Huggingface-orange" height="20"></a>
86
- </td>
87
- <td style="text-align: center;">
88
- <a href="https://github.com/patronus-ai/Lynx-hallucination-detection"><img src="https://postimage.me/images/2024/03/04/GitHub_Logo_White.png" width="100" height="20"></a>
89
- </td>
90
- <td style="text-align: center; color: white;">
91
- <a href="https://arxiv.org/abs/2407.08488"><img src="https://img.shields.io/badge/arXiv-2407.08488-b31b1b.svg" height="20"></a>
92
- </td>
93
- </tr>
 
 
 
 
 
 
94
  </table>
95
 
96
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.
 
71
  HEADER = f"""
72
  # Patronus Lynx Demo
73
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
74
+ <tr style="height:50px;">
75
+ <td style="text-align: center;">
76
+ <a href="https://www.patronus.ai">
77
+ {logo_svg}
78
+ </a>
79
+ </td>
80
+ </tr>
81
+ <tr>
82
+ <td style="text-align: center;">
83
+ <a href="https://www.patronus.ai/blog/lynx-state-of-the-art-open-source-hallucination-detection-model">
84
+ <img src="https://postimage.me/images/2024/07/30/lynx.png" height="20">
85
+ </a>
86
+ </td>
87
+ </tr>
88
  </table>
89
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
90
+ <tr style="height:30px;">
91
+ <td style="text-align: center;">
92
+ <a href="https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct">
93
+ <img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model_Card-Huggingface-orange" height="20">
94
+ </a>
95
+ </td>
96
+ <td style="text-align: center;">
97
+ <a href="https://github.com/patronus-ai/Lynx-hallucination-detection">
98
+ <img src="https://postimage.me/images/2024/03/04/GitHub_Logo_White.png" width="100" height="20">
99
+ </a>
100
+ </td>
101
+ <td style="text-align: center; color: white;">
102
+ <a href="https://arxiv.org/abs/2407.08488">
103
+ <img src="https://img.shields.io/badge/arXiv-2407.08488-b31b1b.svg" height="20">
104
+ </a>
105
+ </td>
106
+ </tr>
107
  </table>
108
 
109
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.