nlpblogs commited on
Commit
a7664ff
·
verified ·
1 Parent(s): 1a2c39c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -13
app.py CHANGED
@@ -175,19 +175,20 @@ if st.button("Results"):
175
  st.info("No entities found in the provided text.")
176
 
177
  # --- Download Buttons ---
178
- dfa = pd.DataFrame(
179
- data={
180
- 'Column Name': ['text', 'label', 'score', 'start', 'end', 'category'],
181
- 'Description': [
182
- 'entity extracted from your text data',
183
- 'label (tag) assigned to a given extracted entity',
184
- 'accuracy score; how accurately a tag has been assigned to a given entity',
185
- 'index of the start of the corresponding entity',
186
- 'index of the end of the corresponding entity',
187
- 'the broader category the entity belongs to',
188
- ]
189
- }
190
- )
 
191
 
192
  buf = io.BytesIO()
193
  with zipfile.ZipFile(buf, "w") as myzip:
 
175
  st.info("No entities found in the provided text.")
176
 
177
  # --- Download Buttons ---
178
+
179
+ dfa = pd.DataFrame(
180
+ data={
181
+ 'Column Name': ['text', 'label', 'score', 'start', 'end', 'category'],
182
+ 'Description': [
183
+ 'entity extracted from your text data',
184
+ 'label (tag) assigned to a given extracted entity',
185
+ 'accuracy score; how accurately a tag has been assigned to a given entity',
186
+ 'index of the start of the corresponding entity',
187
+ 'index of the end of the corresponding entity',
188
+ 'the broader category the entity belongs to',
189
+ ]
190
+ }
191
+ )
192
 
193
  buf = io.BytesIO()
194
  with zipfile.ZipFile(buf, "w") as myzip: