Spaces:
Running
on
T4
Running
on
T4
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
|