Spaces:
Sleeping
Sleeping
File size: 160 Bytes
a660631 |
1 2 3 4 5 6 7 8 |
import random
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
if randomize_seed:
seed = random.randint(0, 1000000)
return seed
|