diff --git a/backend/main.py b/backend/main.py index 8235563..990e1ad 100644 --- a/backend/main.py +++ b/backend/main.py @@ -27,8 +27,9 @@ from app.database import Base, engine, SessionLocal, load_sample_data # Utility function to fetch metadata from pyproject.toml def get_project_metadata(): # Dynamically resolve the correct path to pyproject.toml - current_dir = Path(__file__).resolve().parent - root_dir = current_dir.parent.parent # Adjust based on structure + root_dir = ( + Path(__file__).resolve().parent.parent.parent + ) # Adjust path to project root pyproject_path = root_dir / "pyproject.toml" if not pyproject_path.exists():