RayBe commited on
Commit
db6252e
·
verified ·
1 Parent(s): 56991a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def extract_amount(input_text):
37
 
38
  def fix_json_output(output):
39
  """
40
- Fixes common JSON formatting issues in the model's output.
41
  """
42
  # Remove trailing commas before closing braces/brackets
43
  output = re.sub(r',\s*([}\]])', r'\1', output)
 
37
 
38
  def fix_json_output(output):
39
  """
40
+ Fixes common JSON formatting issues in the model's output .
41
  """
42
  # Remove trailing commas before closing braces/brackets
43
  output = re.sub(r',\s*([}\]])', r'\1', output)