Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def query(lora_id, prompt, is_negative=False, steps=28, cfg_scale=3.5, sampler="
|
|
74 |
|
75 |
# If seed is -1, generate a random seed and use it
|
76 |
if seed == -1:
|
77 |
-
|
78 |
|
79 |
payload = {
|
80 |
"inputs": prompt,
|
|
|
74 |
|
75 |
# If seed is -1, generate a random seed and use it
|
76 |
if seed == -1:
|
77 |
+
seed = random.randint(1, 1000000000)
|
78 |
|
79 |
payload = {
|
80 |
"inputs": prompt,
|