SWHL commited on
Commit
9408e2f
Β·
verified Β·
1 Parent(s): 9c64580

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -71,6 +71,18 @@ model_types = {
71
  "Caption",
72
  "Equation",
73
  ],
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
75
  select_model = st.selectbox("ι€‰ζ‹©η‰ˆι’εˆ†ζžζ¨‘εž‹οΌš", model_types.keys())
76
  st.write("ζ”―ζŒζ£€ζ΅‹η±»εž‹οΌš")
@@ -93,4 +105,3 @@ if img_file_buffer:
93
  ploted_img = VisLayout.draw_detections(img, boxes, scores, class_names)
94
 
95
  st.image(ploted_img, use_column_width=True)
96
-
 
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("ζ”―ζŒζ£€ζ΅‹η±»εž‹οΌš")
 
105
  ploted_img = VisLayout.draw_detections(img, boxes, scores, class_names)
106
 
107
  st.image(ploted_img, use_column_width=True)