weathon commited on
Commit
be95d7f
·
1 Parent(s): f531707

did not include scale

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -82,7 +82,9 @@ def generate_video(positive_prompt, negative_prompt, guidance_scale, bias, step,
82
  prompt=positive_prompt,
83
  negative_prompt=negative_prompt,
84
  num_inference_steps=step,
85
- guidance_scale=0.0,
 
 
86
  generator=torch.Generator(device="cuda").manual_seed(seed),
87
  ).images[0]
88
  os.makedirs("images", exist_ok=True)
 
82
  prompt=positive_prompt,
83
  negative_prompt=negative_prompt,
84
  num_inference_steps=step,
85
+ guidance_scale=0.0,
86
+ scale=guidance_scale,
87
+ offset=bias,
88
  generator=torch.Generator(device="cuda").manual_seed(seed),
89
  ).images[0]
90
  os.makedirs("images", exist_ok=True)