P01yH3dr0n commited on
Commit
c54639d
1 Parent(s): 1b4bd59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def generate(prompt, quality_tags, neg_prompt, seed, scale, width, height, steps
84
  smea, dyn, dyn_threshold, cfg_rescale
85
  )
86
  if not isinstance(img_data, bytes):
87
- return -1, payload
88
  today_count += 1
89
  img = image_from_bytes(img_data)
90
 
 
84
  smea, dyn, dyn_threshold, cfg_rescale
85
  )
86
  if not isinstance(img_data, bytes):
87
+ return None, payload
88
  today_count += 1
89
  img = image_from_bytes(img_data)
90