joshuarauh commited on
Commit
1816322
·
verified ·
1 Parent(s): 17d180b

Update app.py

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