Spaces:
Running
Running
Update app.py
Browse files
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)
|