Update main.py
Browse files
main.py
CHANGED
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field, field_validator
|
|
10 |
from PIL import Image # For type hinting, though not directly used in API models
|
11 |
|
12 |
# Import necessary components from the monolithic script
|
13 |
-
from
|
14 |
MagicPDFProcessor,
|
15 |
MDRStructuredBlock,
|
16 |
MDRTextBlock,
|
|
|
10 |
from PIL import Image # For type hinting, though not directly used in API models
|
11 |
|
12 |
# Import necessary components from the monolithic script
|
13 |
+
from mdr_pdf_parse import (
|
14 |
MagicPDFProcessor,
|
15 |
MDRStructuredBlock,
|
16 |
MDRTextBlock,
|