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