Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,9 @@ from src.submission.submit import add_new_eval
|
|
34 |
|
35 |
# blz -------------------------
|
36 |
|
|
|
|
|
|
|
37 |
"""
|
38 |
import builtins
|
39 |
|
@@ -426,3 +429,5 @@ scheduler = BackgroundScheduler()
|
|
426 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
427 |
scheduler.start()
|
428 |
demo.queue(default_concurrency_limit=40).launch()
|
|
|
|
|
|
34 |
|
35 |
# blz -------------------------
|
36 |
|
37 |
+
import time
|
38 |
+
app_start_time = time.time()
|
39 |
+
|
40 |
"""
|
41 |
import builtins
|
42 |
|
|
|
429 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
430 |
scheduler.start()
|
431 |
demo.queue(default_concurrency_limit=40).launch()
|
432 |
+
|
433 |
+
print(f"app start time {time.time() - app_start_time:.2f} seconds")
|