carisackc commited on
Commit
7c19aad
1 Parent(s): 57dc050

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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')