Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -659,6 +659,7 @@ def check_and_resolve_discrepancy(initial_response, sympy_output):
|
|
659 |
Compare the SymPy output with the initial response and resolve any discrepancies.
|
660 |
Returns tuple of (resolution_text, has_discrepancy, revised_solution)
|
661 |
"""
|
|
|
662 |
try:
|
663 |
resolution_prompt = f"""Here is a mathematics question with two answers.
|
664 |
The first, called Original solution, is a complete solution.
|
|
|
659 |
Compare the SymPy output with the initial response and resolve any discrepancies.
|
660 |
Returns tuple of (resolution_text, has_discrepancy, revised_solution)
|
661 |
"""
|
662 |
+
has_disrepancy = False #Initialize
|
663 |
try:
|
664 |
resolution_prompt = f"""Here is a mathematics question with two answers.
|
665 |
The first, called Original solution, is a complete solution.
|