Lisandro commited on
Commit
4f61531
·
1 Parent(s): 0b22058

bugfix: seed era igual a -seed

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def infer (prompt, inf_steps, guidance_scale, width, height, seed, lora_weight,
23
  guidance_scale=guidance_scale,
24
  width=width,
25
  height=height,
26
- seed=-seed,
27
  lora_weight=lora_weight,
28
  api_name="/infer"
29
  )
 
23
  guidance_scale=guidance_scale,
24
  width=width,
25
  height=height,
26
+ seed=seed,
27
  lora_weight=lora_weight,
28
  api_name="/infer"
29
  )