Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -445,7 +445,7 @@ def root():
|
|
| 445 |
# -----------------------------
|
| 446 |
@app.on_event("startup")
|
| 447 |
async def startup_event():
|
| 448 |
-
|
| 449 |
|
| 450 |
# -----------------------------
|
| 451 |
# Run app
|
|
|
|
| 445 |
# -----------------------------
|
| 446 |
@app.on_event("startup")
|
| 447 |
async def startup_event():
|
| 448 |
+
asyncio.create_task(preload_all_assets())
|
| 449 |
|
| 450 |
# -----------------------------
|
| 451 |
# Run app
|