Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,18 +71,9 @@ model_types = {
|
|
| 71 |
"Caption",
|
| 72 |
"Equation",
|
| 73 |
],
|
| 74 |
-
"
|
| 75 |
-
|
| 76 |
-
|
| 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("ζ―ζζ£ζ΅η±»εοΌ")
|