Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
•
5ffa1ac
1
Parent(s):
5787075
Update model.py
Browse files- src/models/model.py +1 -0
src/models/model.py
CHANGED
@@ -457,3 +457,4 @@ class Summarization:
|
|
457 |
test_df: pd.DataFrame,
|
458 |
metrics: str = "rouge"
|
459 |
):
|
|
|
|
457 |
test_df: pd.DataFrame,
|
458 |
metrics: str = "rouge"
|
459 |
):
|
460 |
+
metric = load_metric(metrics)
|