with app.app_context():
# Import parts of our core Flask app.
from . import routes
- from .assets import compile_static_assets
assets = Environment()
assets.init_app(app)
- # Compile static assets.
- compile_static_assets(assets)
-
# Import Dash applications.
+ from .stats.stats import init_stats
+ app = init_stats(app)
+
from .trending.trending import init_trending
app = init_trending(app)
- # Temporarily switched off
- # from .report.report import init_report
- # app = init_report(app)
-
return app
app = init_app()