wenjiao commited on
Commit
75d6fdd
1 Parent(s): 69dd450
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,9 +26,9 @@ queue_size = 0
26
  def set_msg():
27
  global queue_size
28
  if queue_size > int(os.environ["max_queue_size"]):
29
- return ["The current traffic is high with " + str(queue_size) + " in the queue. Please wait a moment.", queue_size]
30
  else:
31
- return ["The current traffic is not high. You can submit your job now.", queue_size]
32
 
33
  def displayTextBox():
34
  global queue_size
 
26
  def set_msg():
27
  global queue_size
28
  if queue_size > int(os.environ["max_queue_size"]):
29
+ return "The current traffic is high with " + str(queue_size) + " in the queue. Please wait a moment."
30
  else:
31
+ return "The current traffic is not high. You can submit your job now."
32
 
33
  def displayTextBox():
34
  global queue_size