Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -144,6 +144,9 @@ def visualize (run_text,output):
|
|
144 |
for sentence in summary:
|
145 |
best_sentences.append(str(sentence))
|
146 |
|
|
|
|
|
|
|
147 |
if model == "BertSummarizer":
|
148 |
output = original_text['BertSummarizer'].values
|
149 |
st.write('Summary')
|
|
|
144 |
for sentence in summary:
|
145 |
best_sentences.append(str(sentence))
|
146 |
|
147 |
+
|
148 |
+
|
149 |
+
def run_model(input_text):
|
150 |
if model == "BertSummarizer":
|
151 |
output = original_text['BertSummarizer'].values
|
152 |
st.write('Summary')
|