Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = [
|