start
This commit is contained in:
7
app/api/ocr.py
Normal file
7
app/api/ocr.py
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
from fastapi import APIRouter
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.post("/")
|
||||||
|
def init():
|
||||||
|
return
|
||||||
6
app/main.py
Normal file
6
app/main.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
from fastapi import FastAPI
|
||||||
|
from app.api import ocr
|
||||||
|
|
||||||
|
app = FastAPI()
|
||||||
|
|
||||||
|
app.include_router(ocr.init, prefix='/ocr', tags='OCR')
|
||||||
Reference in New Issue
Block a user