selfitcamera commited on
Commit
c4ac295
1 Parent(s): bf92994
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -103,7 +103,9 @@ def onLoad(request: gr.Request):
103
  fail_n += 1
104
  elif inf['state'] in [1]:
105
  queue_n += 1
106
- info = f"you have {finish_n} successed tasks, {queue_n} running tasks, {fail_n} failed tasks"
 
 
107
  time.sleep(3)
108
  except Exception as e:
109
  print(e)
 
103
  fail_n += 1
104
  elif inf['state'] in [1]:
105
  queue_n += 1
106
+ info = f"you have {finish_n} successed tasks, {queue_n} running tasks, {fail_n} failed tasks."
107
+ if queue_n>0:
108
+ info = info+" Wait for 3~10 mins and refresh this page, successed results will display in the history tab at the bottom"
109
  time.sleep(3)
110
  except Exception as e:
111
  print(e)