Spaces:
Runtime error
Runtime error
Commit
·
9240efa
1
Parent(s):
9cb950b
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,8 @@ def find_layout(image, mode):
|
|
22 |
print("The variable image is of type:", type(image))
|
23 |
print("The variable img is of type:", type(img))
|
24 |
|
|
|
|
|
25 |
if mode=="LayoutAnalysis":
|
26 |
table_engine = PPStructure(table=False, ocr=False, show_log=True)
|
27 |
elif mode=="TableRecognition":
|
|
|
22 |
print("The variable image is of type:", type(image))
|
23 |
print("The variable img is of type:", type(img))
|
24 |
|
25 |
+
print("Mode: ", mode)
|
26 |
+
|
27 |
if mode=="LayoutAnalysis":
|
28 |
table_engine = PPStructure(table=False, ocr=False, show_log=True)
|
29 |
elif mode=="TableRecognition":
|