lvwerra HF staff commited on
Commit
e7bfd46
·
1 Parent(s): efccd2f

Update Space (evaluate main: c447fc8e)

Browse files
Files changed (2) hide show
  1. label_distribution.py +1 -2
  2. requirements.txt +1 -1
label_distribution.py CHANGED
@@ -70,13 +70,12 @@ _CITATION = """\
70
 
71
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
72
  class LabelDistribution(evaluate.Measurement):
73
- def _info(self, config):
74
  return evaluate.MeasurementInfo(
75
  module_type="measurement",
76
  description=_DESCRIPTION,
77
  citation=_CITATION,
78
  inputs_description=_KWARGS_DESCRIPTION,
79
- config=config,
80
  features=[
81
  datasets.Features({"data": datasets.Value("int32")}),
82
  datasets.Features({"data": datasets.Value("string")}),
 
70
 
71
  @evaluate.utils.file_utils.add_start_docstrings(_DESCRIPTION, _KWARGS_DESCRIPTION)
72
  class LabelDistribution(evaluate.Measurement):
73
+ def _info(self):
74
  return evaluate.MeasurementInfo(
75
  module_type="measurement",
76
  description=_DESCRIPTION,
77
  citation=_CITATION,
78
  inputs_description=_KWARGS_DESCRIPTION,
 
79
  features=[
80
  datasets.Features({"data": datasets.Value("int32")}),
81
  datasets.Features({"data": datasets.Value("string")}),
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- git+https://github.com/huggingface/evaluate@e4a2724377909fe2aeb4357e3971e5a569673b39
2
  scipy
 
1
+ git+https://github.com/huggingface/evaluate@c447fc8eda9c62af501bfdc6988919571050d950
2
  scipy