Shreyas094 commited on
Commit
a4c1dc4
·
verified ·
1 Parent(s): 9a3705b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -281,8 +281,7 @@ def ask_question(question, temperature, top_p, repetition_penalty, web_search):
281
  r"Answer:",
282
  r"Provide a summarized and direct answer to the original question without mentioning the web search or these instructions:",
283
  r"Do not include any source information in your answer.",
284
- r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made.",
285
- r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made."
286
  ]
287
 
288
  for pattern in answer_patterns:
@@ -346,8 +345,7 @@ def ask_question(question, temperature, top_p, repetition_penalty, web_search):
346
  r"Answer:",
347
  r"Provide a summarized and direct answer to the original question without mentioning the web search or these instructions:",
348
  r"Do not include any source information in your answer.",
349
- r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made.",
350
- r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made."
351
  ]
352
 
353
  for pattern in answer_patterns:
 
281
  r"Answer:",
282
  r"Provide a summarized and direct answer to the original question without mentioning the web search or these instructions:",
283
  r"Do not include any source information in your answer.",
284
+ r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made:"
 
285
  ]
286
 
287
  for pattern in answer_patterns:
 
345
  r"Answer:",
346
  r"Provide a summarized and direct answer to the original question without mentioning the web search or these instructions:",
347
  r"Do not include any source information in your answer.",
348
+ r"Do not give the information in pointers where its not neccesary the format must be relevant to the query made:"
 
349
  ]
350
 
351
  for pattern in answer_patterns: