nyanko7 commited on
Commit
db94543
1 Parent(s): 436f541

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ async def niji_api(prompt, progress=gr.Progress(), max_retries=5, backoff_factor
77
  images = split_image(img)
78
  return [save_image(i) for i in images]
79
  except Exception:
80
- return [None]*4
81
 
82
  while prog < 100:
83
  try:
 
77
  images = split_image(img)
78
  return [save_image(i) for i in images]
79
  except Exception:
80
+ pass
81
 
82
  while prog < 100:
83
  try: