Spaces:
Runtime error
Runtime error
fixes
Browse files- src/models/model.py +1 -1
src/models/model.py
CHANGED
|
@@ -480,7 +480,7 @@ class Summarization:
|
|
| 480 |
|
| 481 |
predictions = [self.predict(x) for x in input_text]
|
| 482 |
|
| 483 |
-
results = metric.
|
| 484 |
'''
|
| 485 |
output = {
|
| 486 |
'Rouge 1': {
|
|
|
|
| 480 |
|
| 481 |
predictions = [self.predict(x) for x in input_text]
|
| 482 |
|
| 483 |
+
results = metric.compute(predictions=predictions, references=references)
|
| 484 |
'''
|
| 485 |
output = {
|
| 486 |
'Rouge 1': {
|