lvwerra HF staff commited on
Commit
bfde74e
1 Parent(s): abf7d37

Update Space (evaluate main: a45df1eb)

Browse files
Files changed (1) hide show
  1. code_eval.py +2 -2
code_eval.py CHANGED
@@ -132,9 +132,9 @@ THE SOFTWARE."""
132
 
133
 
134
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
135
- class CodeEval(evaluate.EvaluationModule):
136
  def _info(self):
137
- return evaluate.EvaluationModuleInfo(
138
  # This is the description that will appear on the metrics page.
139
  description=_DESCRIPTION,
140
  citation=_CITATION,
 
132
 
133
 
134
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
135
+ class CodeEval(evaluate.Metric):
136
  def _info(self):
137
+ return evaluate.MetricInfo(
138
  # This is the description that will appear on the metrics page.
139
  description=_DESCRIPTION,
140
  citation=_CITATION,