Spaces:
Runtime error
Runtime error
Commit
·
e9823e9
1
Parent(s):
4394c8f
Update app.py
Browse files
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 ("\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 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 |
|