EdysorEdutech commited on
Commit
dfeccda
·
verified ·
1 Parent(s): 5e5997d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -612,7 +612,6 @@ class EnhancedDipperHumanizer:
612
  print(f"Found exact placeholder {placeholder}, replacing with {keyword}")
613
  restored_text = restored_text.replace(placeholder, keyword)
614
  # Mark positions as replaced
615
- import re
616
  for match in re.finditer(re.escape(keyword), restored_text):
617
  replaced_positions.update(range(match.start(), match.end()))
618
 
 
612
  print(f"Found exact placeholder {placeholder}, replacing with {keyword}")
613
  restored_text = restored_text.replace(placeholder, keyword)
614
  # Mark positions as replaced
 
615
  for match in re.finditer(re.escape(keyword), restored_text):
616
  replaced_positions.update(range(match.start(), match.end()))
617