zenafey commited on
Commit
67225b1
1 Parent(s): 355874e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def generate_image(upload_images, prompt, negative_prompt, style_name, steps, st
21
  negative_prompt=n,
22
  steps=steps,
23
  strength=strength,
24
- seed=seed
25
  )
26
  result = prodia.wait(job)
27
 
 
21
  negative_prompt=n,
22
  steps=steps,
23
  strength=strength,
24
+ seed=seed if seed != 0 else None
25
  )
26
  result = prodia.wait(job)
27