Update app.py
Browse files
app.py
CHANGED
@@ -177,11 +177,17 @@ if st.button("Results"):
|
|
177 |
# --- Download Buttons ---
|
178 |
dfa = pd.DataFrame(
|
179 |
data={
|
180 |
-
'
|
181 |
-
'
|
182 |
-
'
|
183 |
-
'
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
buf = io.BytesIO()
|
186 |
with zipfile.ZipFile(buf, "w") as myzip:
|
187 |
myzip.writestr("Summary of the results.csv", df.to_csv(index=False))
|
|
|
177 |
# --- Download Buttons ---
|
178 |
dfa = pd.DataFrame(
|
179 |
data={
|
180 |
+
'Column Name': ['word', 'entity_group','score', 'start', 'end'],
|
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 |
+
]
|
188 |
+
}
|
189 |
+
)
|
190 |
+
|
191 |
buf = io.BytesIO()
|
192 |
with zipfile.ZipFile(buf, "w") as myzip:
|
193 |
myzip.writestr("Summary of the results.csv", df.to_csv(index=False))
|