EmoCube commited on
Commit
73f5bda
·
verified ·
1 Parent(s): f187d1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def query(prompt, is_realistic, num_inference_steps, negative):
103
  payload = {
104
  "inputs": prompt,
105
  "seed": random.randint(1, 1000000000),
106
- "parameters": {"num_inference_steps": num_inference_steps, "width": 480, "height": 640, "negative": negative}
107
  }
108
 
109
  response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout)
 
103
  payload = {
104
  "inputs": prompt,
105
  "seed": random.randint(1, 1000000000),
106
+ "parameters": {"num_inference_steps": num_inference_steps, "width": 480, "height": 640, "negative_prompt": negative}
107
  }
108
 
109
  response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout)