reedmayhew commited on
Commit
3d61a56
·
verified ·
1 Parent(s): cd60f6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -58,13 +58,10 @@ max_phrase_length = max(len(phrase) for phrase, _ in replacements)
58
 
59
  MIN_FLUSH_SIZE = max(50, max_phrase_length * 2)
60
 
61
- print(MIN_FLUSH_SIZE)
62
-
63
  def apply_replacements(text):
64
  """
65
  Replace all specified phrases in the text.
66
  """
67
- print(text)
68
  for phrase, replacement in replacements:
69
  text = text.replace(phrase, replacement)
70
  return text
 
58
 
59
  MIN_FLUSH_SIZE = max(50, max_phrase_length * 2)
60
 
 
 
61
  def apply_replacements(text):
62
  """
63
  Replace all specified phrases in the text.
64
  """
 
65
  for phrase, replacement in replacements:
66
  text = text.replace(phrase, replacement)
67
  return text