lunarflu HF Staff commited on
Commit
17f9d9d
·
1 Parent(s): 22df00c

[fullqueue] adjusted errormsg

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -290,10 +290,9 @@ async def fullqueue(e, thread):
290
  await thread.send("Queue is full! Please try again.")
291
  elif "Error: Queue is full! Please try again." in error_message:
292
  await thread.send("Queue is full! Please try again.")
293
- ''' raised when the space we depend on needs to build after some inactivity (~10h)
294
  elif "local variable 'stage_1_results' referenced before assignment" in error_message:
295
- await thread.send("Queue is full! Please try again.")
296
- '''
297
 
298
  #----------------------------------------------------------------------------------------------------------------------------------------------
299
 
 
290
  await thread.send("Queue is full! Please try again.")
291
  elif "Error: Queue is full! Please try again." in error_message:
292
  await thread.send("Queue is full! Please try again.")
293
+ # raised when the space we depend on needs to build after some inactivity (~10h)
294
  elif "local variable 'stage_1_results' referenced before assignment" in error_message:
295
+ await thread.send("Space is building! Please try again after a few minutes.")
 
296
 
297
  #----------------------------------------------------------------------------------------------------------------------------------------------
298