Coercer commited on
Commit
a1b9b51
·
verified ·
1 Parent(s): 7368923

Upload FINAL_Workflow.py

Browse files
Files changed (1) hide show
  1. FINAL_Workflow.py +2 -2
FINAL_Workflow.py CHANGED
@@ -6,7 +6,7 @@ import argparse
6
  import contextlib
7
  from typing import Sequence, Mapping, Any, Union
8
  import torch
9
-
10
 
11
  def get_value_at_index(obj: Union[Sequence, Mapping], index: int) -> Any:
12
  """Returns the value at the given index of a sequence or mapping.
@@ -610,7 +610,7 @@ def main(*func_args, **func_kwargs):
610
  )
611
 
612
  ksampler_3 = ksampler.sample(
613
- seed=parse_arg(args.seed17),
614
  steps=parse_arg(args.steps18),
615
  cfg=parse_arg(args.cfg19),
616
  sampler_name=parse_arg(args.sampler_name20),
 
6
  import contextlib
7
  from typing import Sequence, Mapping, Any, Union
8
  import torch
9
+ from random import randrange
10
 
11
  def get_value_at_index(obj: Union[Sequence, Mapping], index: int) -> Any:
12
  """Returns the value at the given index of a sequence or mapping.
 
610
  )
611
 
612
  ksampler_3 = ksampler.sample(
613
+ seed=randrange(1000000000),
614
  steps=parse_arg(args.steps18),
615
  cfg=parse_arg(args.cfg19),
616
  sampler_name=parse_arg(args.sampler_name20),