Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ if Run_Button and input_text:
|
|
173 |
entity['masked_word'] = entity['word']
|
174 |
|
175 |
df = pd.DataFrame.from_dict(output_comb)
|
176 |
-
cols_to_keep = ['word', '
|
177 |
df_final = df[cols_to_keep]
|
178 |
|
179 |
st.subheader("Recognized Entities")
|
|
|
173 |
entity['masked_word'] = entity['word']
|
174 |
|
175 |
df = pd.DataFrame.from_dict(output_comb)
|
176 |
+
cols_to_keep = ['word', 'word', 'entity_group', 'score', 'start', 'end']
|
177 |
df_final = df[cols_to_keep]
|
178 |
|
179 |
st.subheader("Recognized Entities")
|