Gagan Bhatia commited on
Commit
5ffa1ac
1 Parent(s): 5787075

Update model.py

Browse files
Files changed (1) hide show
  1. 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)