Allen Park commited on
Commit
ee765f5
·
1 Parent(s): e34f0a0

chore(add file upload description)

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -114,6 +114,8 @@ HEADER = f"""
114
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.
115
 
116
  **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.
 
 
117
  """
118
 
119
  EXAMPLES_HEADER = """
 
114
  **Patronus Lynx** is a state-of-the-art open-source model for hallucination detection.
115
 
116
  **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.
117
+
118
+ **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.
119
  """
120
 
121
  EXAMPLES_HEADER = """