wsfung2008 commited on
Commit
b4bc2b8
·
1 Parent(s): 365510a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def find_layout(image, mode):
22
  table_engine = PPStructure(table=False, ocr=False, show_log=True)
23
  elif mode=="TableRecognition":
24
  table_engine = PPStructure(layout=False, show_log=True)
25
- elif mode=="LayoutReccovery":
26
  table_engine = PPStructure(recovery=True)
27
 
28
  result = table_engine(img)
 
22
  table_engine = PPStructure(table=False, ocr=False, show_log=True)
23
  elif mode=="TableRecognition":
24
  table_engine = PPStructure(layout=False, show_log=True)
25
+ else:
26
  table_engine = PPStructure(recovery=True)
27
 
28
  result = table_engine(img)