From 4fdd47e6effa226f3bdd82fd705b3757c5f48532 Mon Sep 17 00:00:00 2001 From: razinkele Date: Sun, 4 Jan 2026 22:10:25 +0200 Subject: [PATCH] fix(app): use absolute imports in app module so Uvicorn can import package --- app/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/app.py b/app/app.py index 58479d4..f7dd2c9 100644 --- a/app/app.py +++ b/app/app.py @@ -25,12 +25,12 @@ # Import page modules - organized by category # Core pages -from .pages import home, data_import, ecopath, prebalance, ecosim, results, analysis, about +from app.pages import home, data_import, ecopath, prebalance, ecosim, results, analysis, about # Advanced features -from .pages import multistanza, forcing_demo, diet_rewiring_demo, optimization_demo, ecospace +from app.pages import multistanza, forcing_demo, diet_rewiring_demo, optimization_demo, ecospace # Configuration imports -from .config import UI +from app.config import UI # App UI with dashboard layout and Bootstrap theme app_ui = ui.page_navbar(