Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -5
src/streamlit_app.py
CHANGED
|
@@ -159,11 +159,12 @@ if st.session_state.show_results:
|
|
| 159 |
|
| 160 |
with st.expander("See Glossary of tags"):
|
| 161 |
st.write('''
|
| 162 |
-
- **text**: ['entity extracted from your text data']
|
| 163 |
-
- **score**: ['accuracy score; how accurately a tag has been assigned to a given entity']
|
| 164 |
-
- **label**: ['label (tag) assigned to a given extracted entity']
|
| 165 |
- **start**: ['index of the start of the corresponding entity']
|
| 166 |
- **end**: ['index of the end of the corresponding entity']
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
''')
|
| 168 |
|
| 169 |
st.divider()
|
|
@@ -217,8 +218,8 @@ if st.session_state.show_results:
|
|
| 217 |
|
| 218 |
# Download Section
|
| 219 |
st.divider()
|
| 220 |
-
dfa = pd.DataFrame(data={'Column Name': ['
|
| 221 |
-
'Description': ['entity extracted from your text data', 'label (tag) assigned to a given extracted entity', 'accuracy score; how accurately a tag has been assigned to a given entity'
|
| 222 |
|
| 223 |
buf = io.BytesIO()
|
| 224 |
with zipfile.ZipFile(buf, "w") as myzip:
|
|
|
|
| 159 |
|
| 160 |
with st.expander("See Glossary of tags"):
|
| 161 |
st.write('''
|
|
|
|
|
|
|
|
|
|
| 162 |
- **start**: ['index of the start of the corresponding entity']
|
| 163 |
- **end**: ['index of the end of the corresponding entity']
|
| 164 |
+
- **text**: ['entity extracted from your text data']
|
| 165 |
+
- **label**: ['label (tag) assigned to a given extracted entity']\
|
| 166 |
+
- **score**: ['accuracy score; how accurately a tag has been assigned to a given entity']
|
| 167 |
+
|
| 168 |
''')
|
| 169 |
|
| 170 |
st.divider()
|
|
|
|
| 218 |
|
| 219 |
# Download Section
|
| 220 |
st.divider()
|
| 221 |
+
dfa = pd.DataFrame(data={'Column Name': ['start', 'end', 'text', 'label', 'score'],
|
| 222 |
+
'Description': ['index of the start of the corresponding entity', 'index of the end of the corresponding entity', 'entity extracted from your text data', 'label (tag) assigned to a given extracted entity', 'accuracy score; how accurately a tag has been assigned to a given entity']})
|
| 223 |
|
| 224 |
buf = io.BytesIO()
|
| 225 |
with zipfile.ZipFile(buf, "w") as myzip:
|