Rooni commited on
Commit
d2f192d
·
1 Parent(s): 7f01c28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -109,7 +109,11 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
109
  "steps": steps,
110
  "cfg_scale": cfg_scale,
111
  "seed": seed if seed != -1 else random.randint(1, 1000000000),
112
- "strength": strength
 
 
 
 
113
  }
114
 
115
  response = requests.post(f"{api_base}{API_URL}", headers=headers, json=payload, timeout=timeout)
 
109
  "steps": steps,
110
  "cfg_scale": cfg_scale,
111
  "seed": seed if seed != -1 else random.randint(1, 1000000000),
112
+ "strength": strength,
113
+ "width"=1024,
114
+ "height"=1024,
115
+ "guidance_scale"=cfg_scale,
116
+ "num_inference_steps"=steps
117
  }
118
 
119
  response = requests.post(f"{api_base}{API_URL}", headers=headers, json=payload, timeout=timeout)