Spaces:
Runtime error
Runtime error
Allen Park
commited on
Commit
·
8a29b8a
1
Parent(s):
120b840
remove logo.svg and old HEADER code
Browse files
app.py
CHANGED
|
@@ -78,52 +78,6 @@ EXAMPLES = [
|
|
| 78 |
|
| 79 |
]
|
| 80 |
|
| 81 |
-
with open('logo.svg', 'r') as file:
|
| 82 |
-
logo_svg = file.read()
|
| 83 |
-
|
| 84 |
-
OLDER_HEADER = f"""
|
| 85 |
-
<table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="100%">
|
| 86 |
-
<tr>
|
| 87 |
-
<td style="text-align: center;">
|
| 88 |
-
<a href="https://www.patronus.ai/blog/lynx-state-of-the-art-open-source-hallucination-detection-model" style="display: flex; align-items: center;">
|
| 89 |
-
<img src="https://postimage.me/images/2024/07/30/lynx.png" width="125">
|
| 90 |
-
<div style="width: 100%; display: flex; justify-content: center;">
|
| 91 |
-
<h1 style="color: white; font-size: 1.5rem; font-weight: 600; width: 50%">
|
| 92 |
-
Lynx 8B v1.1 & Lynx 70B
|
| 93 |
-
</h1>
|
| 94 |
-
</div>
|
| 95 |
-
</a>
|
| 96 |
-
</td>
|
| 97 |
-
</tr>
|
| 98 |
-
<tr style="height:50px;">
|
| 99 |
-
<td style="text-align: center;">
|
| 100 |
-
<a href="https://www.patronus.ai">
|
| 101 |
-
<svg width="330" height="59" viewBox="0 0 330 59" fill="none" xmlns="http://www.w3.org/2000/svg">{logo_svg}</svg>
|
| 102 |
-
</a>
|
| 103 |
-
</td>
|
| 104 |
-
</tr>
|
| 105 |
-
</table>
|
| 106 |
-
<table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
|
| 107 |
-
<tr style="height:30px;">
|
| 108 |
-
<td style="text-align: center;">
|
| 109 |
-
<a href="https://huggingface.co/PatronusAI/Llama-3-Patronus-Lynx-8B-Instruct">
|
| 110 |
-
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Model_Card-Huggingface-orange" height="20">
|
| 111 |
-
</a>
|
| 112 |
-
</td>
|
| 113 |
-
<td style="text-align: center;">
|
| 114 |
-
<a href="https://github.com/patronus-ai/Lynx-hallucination-detection">
|
| 115 |
-
<img src="https://postimage.me/images/2024/03/04/GitHub_Logo_White.png" width="100" height="20">
|
| 116 |
-
</a>
|
| 117 |
-
</td>
|
| 118 |
-
<td style="text-align: center; color: white;">
|
| 119 |
-
<a href="https://arxiv.org/abs/2407.08488">
|
| 120 |
-
<img src="https://img.shields.io/badge/arXiv-2407.08488-b31b1b.svg" height="20">
|
| 121 |
-
</a>
|
| 122 |
-
</td>
|
| 123 |
-
</tr>
|
| 124 |
-
</table>
|
| 125 |
-
"""
|
| 126 |
-
|
| 127 |
HEADER = """
|
| 128 |
<div style="width: 100%; display: flex; flex-direction: column; gap: 24px; padding-top: 24px; position: relative">
|
| 129 |
<img src="https://postimage.me/images/2024/07/30/lynx.png" width="175" style="position: absolute; top: 0; right: 48px">
|
|
|
|
| 78 |
|
| 79 |
]
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
HEADER = """
|
| 82 |
<div style="width: 100%; display: flex; flex-direction: column; gap: 24px; padding-top: 24px; position: relative">
|
| 83 |
<img src="https://postimage.me/images/2024/07/30/lynx.png" width="175" style="position: absolute; top: 0; right: 48px">
|
logo.svg
DELETED