Iwaku-Real commited on
Commit
ffff4a3
1 Parent(s): a4f8124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def flip_text(prompt, negative_prompt, model, steps, sampler, cfg_scale, width,
95
  return job["imageUrl"]
96
 
97
  def check_res(w, h):
98
- if w*h < 1_100_000:
99
  return "### ⚠️ Res too big!"
100
  else:
101
  return ""
 
95
  return job["imageUrl"]
96
 
97
  def check_res(w, h):
98
+ if w*h > 1_100_000:
99
  return "### ⚠️ Res too big!"
100
  else:
101
  return ""