Spaces:
Runtime error
Runtime error
Commit
·
871dbc8
1
Parent(s):
04115fa
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
|
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 ("\n\n"+"FinBERT MODEL OUTPUT"+"\n\n"+summary,"\n\n"+"Length of Input: "+len(word),"\n\n"+"Length of Output: "len(summary))
|
115 |
|
116 |
|
117 |
|