Skip to content

Constants

S3_BUCKET = 'openomni' module-attribute

get parent of current folder as root

ROOT_PATH = os.path.dirname(os.path.abspath(file)) DATA_DIR = Path(ROOT_PATH) / "data"

DATA_DIR.mkdir(parents=True, exist_ok=True)

API_DOMAIN = "http://localhost:8000"

S3_BUCKET = "openomni" => change this to your bucket name