SWHL commited on
Commit
31aae41
Β·
verified Β·
1 Parent(s): 9408e2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -71,18 +71,9 @@ model_types = {
71
  "Caption",
72
  "Equation",
73
  ],
74
- "doclayout_yolo": [
75
- "title",
76
- "text",
77
- "abandon",
78
- "figure",
79
- "figure_caption",
80
- "table",
81
- "table_caption",
82
- "table_footnote",
83
- "isolate_formula",
84
- "formula_caption",
85
- ],
86
  }
87
  select_model = st.selectbox("ι€‰ζ‹©η‰ˆι’εˆ†ζžζ¨‘εž‹οΌš", model_types.keys())
88
  st.write("ζ”―ζŒζ£€ζ΅‹η±»εž‹οΌš")
 
71
  "Caption",
72
  "Equation",
73
  ],
74
+ "doclayout_docstructbench": ['title', 'plain text', 'abandon', 'figure', 'figure_caption', 'table', 'table_caption', 'table_footnote', 'isolate_formula', 'formula_caption'],
75
+ "doclayout_d4la": ['DocTitle', 'ParaTitle', 'ParaText', 'ListText', 'RegionTitle', 'Date', 'LetterHead', 'LetterDear', 'LetterSign', 'Question', 'OtherText', 'RegionKV', 'RegionList', 'Abstract', 'Author', 'TableName', 'Table', 'Figure', 'FigureName', 'Equation', 'Reference', 'Footer', 'PageHeader', 'PageFooter', 'Number', 'Catalog', 'PageNumber'],
76
+ "doclayout_docsynth": ['Caption', 'Footnote', 'Formula', 'List-item', 'Page-footer', 'Page-header', 'Picture', 'Section-header', 'Table', 'Text', 'Title']
 
 
 
 
 
 
 
 
 
77
  }
78
  select_model = st.selectbox("ι€‰ζ‹©η‰ˆι’εˆ†ζžζ¨‘εž‹οΌš", model_types.keys())
79
  st.write("ζ”―ζŒζ£€ζ΅‹η±»εž‹οΌš")