Spaces:
SHOOL45
/
Runtime error

Rooni commited on
Commit
ee3af61
1 Parent(s): 82b2ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ def query(prompt, model, width, height, is_negative=False, steps=20, cfg_scale=7
55
  "steps": steps,
56
  "cfg_scale": cfg_scale,
57
  "seed": seed if seed is not None else random.randint(-1, 2147483647),
58
- "width": width,
59
- "height": height
60
  }
61
 
62
  image_bytes = requests.post(API_URL, headers=headers, json=payload).content
 
55
  "steps": steps,
56
  "cfg_scale": cfg_scale,
57
  "seed": seed if seed is not None else random.randint(-1, 2147483647),
58
+ "output_width": width,
59
+ "output_height": height
60
  }
61
 
62
  image_bytes = requests.post(API_URL, headers=headers, json=payload).content