Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ ocr_engine = PaddleOCR(use_angle_cls=False, lang='en')
|
|
| 23 |
|
| 24 |
# 2. Structure Analysis Engine (for /structure endpoint)
|
| 25 |
# We set layout=True and table=True to perform comprehensive structure analysis
|
| 26 |
-
structure_engine = PPStructureV3(
|
| 27 |
|
| 28 |
print("**Model loaded successfully.**")
|
| 29 |
|
|
|
|
| 23 |
|
| 24 |
# 2. Structure Analysis Engine (for /structure endpoint)
|
| 25 |
# We set layout=True and table=True to perform comprehensive structure analysis
|
| 26 |
+
structure_engine = PPStructureV3(use_doc_orientation_classify=False, use_doc_unwarping=False)
|
| 27 |
|
| 28 |
print("**Model loaded successfully.**")
|
| 29 |
|