JaMe76 commited on
Commit
04c7117
1 Parent(s): 0c789cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,11 +83,11 @@ def build_gradio_analyzer(table, table_ref, ocr):
83
  if cfg.TAB:
84
 
85
  detect_result_generator = dd.DetectResultGenerator(categories_cell)
86
- cell = dd.SubImageLayoutService(d_cell, LayoutType.table, {1: 6}, detect_result_generator)
87
  pipe_component_list.append(cell)
88
 
89
  detect_result_generator = dd.DetectResultGenerator(categories_item)
90
- item = dd.SubImageLayoutService(d_item, LayoutType.table, {1: 7, 2: 8}, detect_result_generator)
91
  pipe_component_list.append(item)
92
 
93
  table_segmentation = dd.TableSegmentationService(
 
83
  if cfg.TAB:
84
 
85
  detect_result_generator = dd.DetectResultGenerator(categories_cell)
86
+ cell = dd.SubImageLayoutService(d_cell, dd.LayoutType.table, {1: 6}, detect_result_generator)
87
  pipe_component_list.append(cell)
88
 
89
  detect_result_generator = dd.DetectResultGenerator(categories_item)
90
+ item = dd.SubImageLayoutService(d_item, dd.LayoutType.table, {1: 7, 2: 8}, detect_result_generator)
91
  pipe_component_list.append(item)
92
 
93
  table_segmentation = dd.TableSegmentationService(