Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -425,9 +425,11 @@ with demo:
|
|
| 425 |
show_copy_button=True,
|
| 426 |
)
|
| 427 |
|
|
|
|
|
|
|
| 428 |
scheduler = BackgroundScheduler()
|
| 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
|
|
|
|
| 425 |
show_copy_button=True,
|
| 426 |
)
|
| 427 |
|
| 428 |
+
print(f"app start time {time.time() - app_start_time:.2f} seconds")
|
| 429 |
+
|
| 430 |
scheduler = BackgroundScheduler()
|
| 431 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
| 432 |
scheduler.start()
|
| 433 |
demo.queue(default_concurrency_limit=40).launch()
|
| 434 |
|
| 435 |
+
print(f"app start after demo.queue {time.time() - app_start_time:.2f} seconds")
|