akdeniz27 commited on
Commit
8b58a2a
·
1 Parent(s): 1eab2d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -69,8 +69,6 @@ if Run_Button == True:
69
  ner_pipeline = setModel(model_checkpoint, aggregation)
70
  output = ner_pipeline(input_text)
71
 
72
- print(output)
73
-
74
  df = pd.DataFrame.from_dict(output)
75
  if aggregation != "none":
76
  cols_to_keep = ['word','entity_group','score','start','end']
@@ -82,7 +80,6 @@ if Run_Button == True:
82
  st.dataframe(df_final)
83
 
84
  st.subheader("Spacy Style Display")
85
-
86
  spacy_display = {}
87
  spacy_display["ents"] = []
88
  spacy_display["text"] = input_text
 
69
  ner_pipeline = setModel(model_checkpoint, aggregation)
70
  output = ner_pipeline(input_text)
71
 
 
 
72
  df = pd.DataFrame.from_dict(output)
73
  if aggregation != "none":
74
  cols_to_keep = ['word','entity_group','score','start','end']
 
80
  st.dataframe(df_final)
81
 
82
  st.subheader("Spacy Style Display")
 
83
  spacy_display = {}
84
  spacy_display["ents"] = []
85
  spacy_display["text"] = input_text