Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -663,6 +663,9 @@ def check_and_resolve_discrepancy(initial_response, sympy_output):
|
|
663 |
Returns tuple of (resolution_text, has_discrepancy, revised_solution)
|
664 |
"""
|
665 |
has_discrepancy = False #Initialize
|
|
|
|
|
|
|
666 |
try:
|
667 |
resolution_prompt = f"""Here is a mathematics question with two answers.
|
668 |
The first, called Original solution, is a complete solution.
|
|
|
663 |
Returns tuple of (resolution_text, has_discrepancy, revised_solution)
|
664 |
"""
|
665 |
has_discrepancy = False #Initialize
|
666 |
+
resolution_text = ""
|
667 |
+
revised_solution = None
|
668 |
+
|
669 |
try:
|
670 |
resolution_prompt = f"""Here is a mathematics question with two answers.
|
671 |
The first, called Original solution, is a complete solution.
|