Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
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):
|