samgis / src /__init__.py
aletrn's picture
[debug] first test on lambda for fastsam prediction
fa76f5f
raw
history blame
251 Bytes
from aws_lambda_powertools import Logger
import os
from pathlib import Path
PROJECT_ROOT_FOLDER = Path(globals().get("__file__", "./_")).absolute().parent.parent
MODEL_FOLDER = Path(os.path.join(PROJECT_ROOT_FOLDER, "models"))
app_logger = Logger()