selfitcamera
commited on
Commit
·
d9b1803
1
Parent(s):
c4ac295
setup
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ 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 |
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)
|
|
|
103 |
fail_n += 1
|
104 |
elif inf['state'] in [1]:
|
105 |
queue_n += 1
|
106 |
+
info = f"{client_ip}, 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)
|