carisackc commited on
Commit
3999cd5
·
1 Parent(s): edabc76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -244,13 +244,6 @@ ent_html = displacy.render(doc0, style='ent', options=options)
244
 
245
  ##======================== End of NER Tagging ========================
246
 
247
- def visualize (run_text,output):
248
- text =''
249
- splitruntext = [x for x in runtext.split('.')]
250
- splitoutput = [x for x in output.split('.')]
251
- return splitoutput,splitruntext
252
-
253
- @st.cache
254
  def run_model(input_text):
255
  if model == "BertSummarizer":
256
  output = original_text['BertSummarizer2s'].values
 
244
 
245
  ##======================== End of NER Tagging ========================
246
 
 
 
 
 
 
 
 
247
  def run_model(input_text):
248
  if model == "BertSummarizer":
249
  output = original_text['BertSummarizer2s'].values