Spaces:
Running
Running
Update app.py
Browse files
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 |
|