Spaces:
Runtime error
Runtime error
Commit
·
c935ce0
1
Parent(s):
e9823e9
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
|
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 |
|