Yaron Koresh commited on
Commit
3bb3a4d
·
verified ·
1 Parent(s): 525f9fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ def pipe_generate(img,p1,p2,motion,time,title):
185
  num_inference_steps=step,
186
  max_sequence_length=seq,
187
  need_safetycheck=False,
188
- generator=torch.Generator(device).manual_seed(0)
189
  ).images[0]
190
 
191
  if time == 0.0:
 
185
  num_inference_steps=step,
186
  max_sequence_length=seq,
187
  need_safetycheck=False,
188
+ generator=torch.Generator(device).manual_seed(random.seed())
189
  ).images[0]
190
 
191
  if time == 0.0: