umarigan commited on
Commit
9b31fae
·
verified ·
1 Parent(s): 8bd5af2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', 'masked_word', 'entity_group', 'score', 'start', 'end']
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")