ShynBui commited on
Commit
b2d179a
·
1 Parent(s): 53c34d4

tracking random.sample error

Browse files
Files changed (2) hide show
  1. __pycache__/utils.cpython-310.pyc +0 -0
  2. utils.py +1 -0
__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
 
utils.py CHANGED
@@ -116,6 +116,7 @@ def character_replacement(text, num_errors=1):
116
 
117
  indices = random.sample(range(len(text) - 1), num_errors)
118
 
 
119
 
120
  for index in indices:
121
  if text[index].lower() in keyboard:
 
116
 
117
  indices = random.sample(range(len(text) - 1), num_errors)
118
 
119
+ print(indices)
120
 
121
  for index in indices:
122
  if text[index].lower() in keyboard: