samgis / src /__init__.py
aletrn's picture
[docs] add first working sphinx docs build
00b4479
raw
history blame
387 Bytes
"""Get machine learning predictions from geodata raster images"""
from aws_lambda_powertools import Logger
import os
from pathlib import Path
from src.utilities.constants import SERVICE_NAME
PROJECT_ROOT_FOLDER = Path(globals().get("__file__", "./_")).absolute().parent.parent
MODEL_FOLDER = Path(os.path.join(PROJECT_ROOT_FOLDER, "models"))
app_logger = Logger(service=SERVICE_NAME)