DigiP-AI commited on
Commit
2d04fb1
·
verified ·
1 Parent(s): c50b0b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,8 +73,8 @@ def query(lora_id, prompt, is_negative=False, steps=28, cfg_scale=3.5, sampler="
73
  # print(f'\033[1mGeneration {key}:\033[0m {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,
 
73
  # print(f'\033[1mGeneration {key}:\033[0m {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,