mussie1212 commited on
Commit
9e8393f
·
1 Parent(s): f10c908

fix:first commit on the ocr

Browse files
app/__pycache__/config.cpython-313.pyc ADDED
Binary file (1.5 kB). View file
 
app/__pycache__/extraction.cpython-313.pyc ADDED
Binary file (11.5 kB). View file
 
app/__pycache__/main.cpython-312.pyc ADDED
Binary file (2.66 kB). View file
 
app/__pycache__/main.cpython-313.pyc ADDED
Binary file (2.67 kB). View file
 
app/__pycache__/utils.cpython-313.pyc ADDED
Binary file (2.54 kB). View file
 
app/main.py CHANGED
@@ -25,8 +25,10 @@ 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
 
 
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
+ openapi_url="/openapi.json",
31
+ root_path=os.getenv("HF_SPACE_ROOT_PATH", "")
32
  )
33
 
34