Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -125,5 +125,5 @@ if __name__ == "__main__":
|
|
125 |
|
126 |
st.subheader("Rogue Scores")
|
127 |
rouge_sc = Rouge()
|
128 |
-
score = rouge_sc.get_scores(summarized_text,
|
129 |
st.code(score)
|
|
|
125 |
|
126 |
st.subheader("Rogue Scores")
|
127 |
rouge_sc = Rouge()
|
128 |
+
score = rouge_sc.get_scores(summarized_text, text_to_summarize, avg=True)
|
129 |
st.code(score)
|