wsfung2008 commited on
Commit
9240efa
·
1 Parent(s): 9cb950b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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":