Shreyas094 commited on
Commit
26aa94d
·
verified ·
1 Parent(s): 40aa611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -488,7 +488,7 @@ def ask_question(question, temperature, top_p, repetition_penalty, web_search, c
488
  if attempt == max_attempts - 1:
489
  return f"I apologize, but an unexpected error occurred. Please try again with a different question."
490
 
491
- return "An unexpected error occurred. Please try again later."."
492
 
493
  def extract_answer(full_response, instructions=None):
494
  answer_patterns = [
 
488
  if attempt == max_attempts - 1:
489
  return f"I apologize, but an unexpected error occurred. Please try again with a different question."
490
 
491
+ return "An unexpected error occurred. Please try again later."
492
 
493
  def extract_answer(full_response, instructions=None):
494
  answer_patterns = [