layout-detection / main.py
masamasa4's picture
Deploy layout-analysis from monorepo
b3d168f verified
raw
history blame contribute delete
403 Bytes
import logging
from fastapi import FastAPI
from controller.extract import router
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
)
logger = logging.getLogger(__name__)
app = FastAPI(title="Layout Analysis Service", version="0.1.0")
app.include_router(router)
logger.debug("Layout Analysis Service application started successfully.")