Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
·
a927854
1
Parent(s):
2eff13f
adjust lynx logo size and position + add line after markdown
Browse files
app.py
CHANGED
@@ -126,8 +126,8 @@ OLDER_HEADER = f"""
|
|
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="
|
130 |
-
<div style="display: flex; justify-content: space-between">
|
131 |
<a href="https://www.patronus.ai">
|
132 |
<img src="https://postimage.me/images/2024/07/31/FullLogo_ColorDefault.png" width="250">
|
133 |
</a>
|
@@ -154,6 +154,7 @@ HEADER = """
|
|
154 |
**Getting Started**: Provide a question and document or context given to your model in addition to the answer given by the model and then click submit. The output panel will indicate whether the reponse is a hallucination (Fail) or if it is faithful to the given document or context (Pass) through the score Pass or Fail and provide reasoning behind the score.
|
155 |
|
156 |
**File Upload**: You can choose to upload a file for the document field. The file must be a PDF, TXT, or DOCX file and less than 8000 tokens in length.
|
|
|
157 |
"""
|
158 |
|
159 |
EXAMPLES_HEADER = """
|
|
|
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">
|
130 |
+
<div style="display: flex; justify-content: space-between; z-index: 1;">
|
131 |
<a href="https://www.patronus.ai">
|
132 |
<img src="https://postimage.me/images/2024/07/31/FullLogo_ColorDefault.png" width="250">
|
133 |
</a>
|
|
|
154 |
**Getting Started**: Provide a question and document or context given to your model in addition to the answer given by the model and then click submit. The output panel will indicate whether the reponse is a hallucination (Fail) or if it is faithful to the given document or context (Pass) through the score Pass or Fail and provide reasoning behind the score.
|
155 |
|
156 |
**File Upload**: You can choose to upload a file for the document field. The file must be a PDF, TXT, or DOCX file and less than 8000 tokens in length.
|
157 |
+
<hr>
|
158 |
"""
|
159 |
|
160 |
EXAMPLES_HEADER = """
|