joshuarauh commited on
Commit
ef150b4
·
verified ·
1 Parent(s): f3a4e75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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.