Skip to content

Commit

Permalink
Rename ROUGE score lens
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Nov 20, 2023
1 parent 25bc544 commit 262f5fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion renumics/spotlight/layout/lenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,4 @@ def rouge_score(column: str, reference_column: str, name: Optional[str] = None)
Supports a pair of string columns.
"""
return Lens(type="RougeScoreView", columns=[column, reference_column], name=name)
return Lens(type="RougeScore", columns=[column, reference_column], name=name)
2 changes: 1 addition & 1 deletion src/lenses/RougeScoreLens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const RougeScoreLens: Lens<string> = ({ values }) => {
);
};

RougeScoreLens.key = 'RougeScoreView';
RougeScoreLens.key = 'RougeScore';
RougeScoreLens.dataTypes = ['str'];
RougeScoreLens.defaultHeight = 50;
RougeScoreLens.minHeight = 50;
Expand Down

0 comments on commit 262f5fd

Please sign in to comment.