From 1f4157ed8997f62144bd887f43272c709c24f4d0 Mon Sep 17 00:00:00 2001 From: hanwha Date: Fri, 4 Jul 2025 13:03:00 +0900 Subject: [PATCH] start --- app/api/ocr.py | 7 +++++++ app/main.py | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 app/api/ocr.py create mode 100644 app/main.py diff --git a/app/api/ocr.py b/app/api/ocr.py new file mode 100644 index 0000000..f26bf25 --- /dev/null +++ b/app/api/ocr.py @@ -0,0 +1,7 @@ +from fastapi import APIRouter + +router = APIRouter() + +@router.post("/") +def init(): + return \ No newline at end of file diff --git a/app/main.py b/app/main.py new file mode 100644 index 0000000..4ae1094 --- /dev/null +++ b/app/main.py @@ -0,0 +1,6 @@ +from fastapi import FastAPI +from app.api import ocr + +app = FastAPI() + +app.include_router(ocr.init, prefix='/ocr', tags='OCR') \ No newline at end of file