lvwerra HF staff commited on
Commit
4368841
1 Parent(s): 2f11b57

Update Space (evaluate main: 50512323)

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. mcnemar.py +1 -1
app.py CHANGED
@@ -2,5 +2,5 @@ import evaluate
2
  from evaluate.utils import launch_gradio_widget
3
 
4
 
5
- module = evaluate.load("mcnemar", type="comparison")
6
  launch_gradio_widget(module)
 
2
  from evaluate.utils import launch_gradio_widget
3
 
4
 
5
+ module = evaluate.load("mcnemar", module_type="comparison")
6
  launch_gradio_widget(module)
mcnemar.py CHANGED
@@ -63,7 +63,7 @@ _CITATION = """
63
  class McNemar(evaluate.EvaluationModule):
64
  def _info(self):
65
  return evaluate.EvaluationModuleInfo(
66
- type="comparison",
67
  description=_DESCRIPTION,
68
  citation=_CITATION,
69
  inputs_description=_KWARGS_DESCRIPTION,
 
63
  class McNemar(evaluate.EvaluationModule):
64
  def _info(self):
65
  return evaluate.EvaluationModuleInfo(
66
+ module_type="comparison",
67
  description=_DESCRIPTION,
68
  citation=_CITATION,
69
  inputs_description=_KWARGS_DESCRIPTION,