KKowenn commited on
Commit
652103c
·
verified ·
1 Parent(s): 1fe0c1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -350,8 +350,7 @@ else:
350
  for key, pattern in patterns.items()
351
  if (match := re.search(pattern, text_for_analysis, re.IGNORECASE))
352
  }
353
-
354
- # ✅ Correct indentation
355
  doc = nlp(text_for_analysis)
356
  financial_entities = [(ent.text, ent.label_) for ent in doc.ents if ent.label_ in ["MONEY", "PERCENT", "ORG", "DATE"]]
357
 
 
350
  for key, pattern in patterns.items()
351
  if (match := re.search(pattern, text_for_analysis, re.IGNORECASE))
352
  }
353
+
 
354
  doc = nlp(text_for_analysis)
355
  financial_entities = [(ent.text, ent.label_) for ent in doc.ents if ent.label_ in ["MONEY", "PERCENT", "ORG", "DATE"]]
356