carisackc commited on
Commit
799558e
·
1 Parent(s): c21acb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -102,6 +102,10 @@ runtext =st.text_area(inputNote, str(original_text2), height=300)
102
 
103
  def visualize (run_text,output):
104
  text =''
 
 
 
 
105
  # import en_core_web_sm
106
  # from spacy.lang.en import English # updated
107
  # nlp=spacy.load('en_core_web_sm')
@@ -117,10 +121,7 @@ def visualize (run_text,output):
117
  else:
118
  text += ' ' + sentence
119
  # display(HTML(f""" {text} """))
120
- best_sentences = []
121
- for sentence in summary:
122
- best_sentences.append(str(sentence))
123
-
124
 
125
 
126
  def run_model(input_text):
 
102
 
103
  def visualize (run_text,output):
104
  text =''
105
+ best_sentences = []
106
+ for sentence in summary:
107
+ best_sentences.append(str(sentence))
108
+
109
  # import en_core_web_sm
110
  # from spacy.lang.en import English # updated
111
  # nlp=spacy.load('en_core_web_sm')
 
121
  else:
122
  text += ' ' + sentence
123
  # display(HTML(f""" {text} """))
124
+
 
 
 
125
 
126
 
127
  def run_model(input_text):