Shivam29rathore commited on
Commit
c935ce0
·
1 Parent(s): e9823e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def make_extractive_summary(word):
111
  summary = " ".join(data.sort_values(
112
  'Distance_From_Centroid',
113
  ascending = True).groupby('Cluster').head(1).sort_index()['Sentences'].tolist())
114
- return print("\n\n FinBERT MODEL OUTPUT \n\n"+summary,"\n\n Length of Input: "+str(len(word)),"\n\n Length of Output: "+str(len(summary)))
115
 
116
 
117
 
 
111
  summary = " ".join(data.sort_values(
112
  'Distance_From_Centroid',
113
  ascending = True).groupby('Cluster').head(1).sort_index()['Sentences'].tolist())
114
+ return ("FinBERT MODEL OUTPUT:--->"+summary," Length of Input:---->"+str(len(word))," Length of Output:----> "+str(len(summary)))
115
 
116
 
117