lunarflu HF Staff commited on
Commit
b173336
·
1 Parent(s): 6d8cbbb

[fullqueue] bugfix

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -272,9 +272,9 @@ async def fullqueue(e, thread):
272
  error_message = str(e)
273
  if "Error: Expecting value: line 1 column 1 (char 0)" in error_message:
274
  await thread.send("Queue is full! Please try again.")
275
- elif: "Error: Queue is full! Please try again." in error_message:
276
  await thread.send("Queue is full! Please try again.")
277
- elif: "local variable 'stage_1_results' referenced before assignment" in error_message:
278
  await thread.send("Queue is full! Please try again.")
279
  #----------------------------------------------------------------------------------------------------------------------------------------------
280
  # deepfloydif stage 1 generation ✅
 
272
  error_message = str(e)
273
  if "Error: Expecting value: line 1 column 1 (char 0)" in error_message:
274
  await thread.send("Queue is full! Please try again.")
275
+ elif "Error: Queue is full! Please try again." in error_message:
276
  await thread.send("Queue is full! Please try again.")
277
+ elif "local variable 'stage_1_results' referenced before assignment" in error_message:
278
  await thread.send("Queue is full! Please try again.")
279
  #----------------------------------------------------------------------------------------------------------------------------------------------
280
  # deepfloydif stage 1 generation ✅