meg HF Staff commited on
Commit
8a4d47d
·
verified ·
1 Parent(s): 9a1c210

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -22,6 +22,7 @@ def main(percentage=10):
22
  # Just for timing how long this takes.
23
  start = time.time()
24
 
 
25
  print("Randomizing %d percent of the data." % percentage)
26
  # Set the random seed, based on the percentage, so that our random changes are reproducible.
27
  random.seed(percentage)
 
22
  # Just for timing how long this takes.
23
  start = time.time()
24
 
25
+ percentage = float(percentage)
26
  print("Randomizing %d percent of the data." % percentage)
27
  # Set the random seed, based on the percentage, so that our random changes are reproducible.
28
  random.seed(percentage)