Spaces:
Sleeping
Sleeping
Commit
·
99200ee
1
Parent(s):
fb55ffe
fix:first commit on the ocr
Browse files- app/main.py +3 -1
app/main.py
CHANGED
@@ -24,7 +24,9 @@ import uvicorn
|
|
24 |
app = FastAPI(
|
25 |
title="PDF Processor API",
|
26 |
description="Upload a PDF and get structured document data",
|
27 |
-
version="1.0.0"
|
|
|
|
|
28 |
)
|
29 |
|
30 |
@app.post("/process-pdf/")
|
|
|
24 |
app = FastAPI(
|
25 |
title="PDF Processor API",
|
26 |
description="Upload a PDF and get structured document data",
|
27 |
+
version="1.0.0",
|
28 |
+
docs_url="/docs",
|
29 |
+
redoc_url="/redoc"
|
30 |
)
|
31 |
|
32 |
@app.post("/process-pdf/")
|