MariaKaiser commited on
Commit
904e7e1
·
verified ·
1 Parent(s): 529168a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -445,7 +445,7 @@ def root():
445
  # -----------------------------
446
  @app.on_event("startup")
447
  async def startup_event():
448
- await preload_all_assets()
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