Spaces:
Runtime error
Runtime error
Update code_eval_outputs.py
Browse files- code_eval_outputs.py +1 -1
code_eval_outputs.py
CHANGED
@@ -148,7 +148,7 @@ class CodeEval(evaluate.Metric):
|
|
148 |
license=_LICENSE,
|
149 |
)
|
150 |
|
151 |
-
def _compute(self, predictions, references, output, k=[1, 10, 100], num_workers=4, timeout=
|
152 |
"""Returns the scores"""
|
153 |
|
154 |
if os.getenv("HF_ALLOW_CODE_EVAL", 0) != "1":
|
|
|
148 |
license=_LICENSE,
|
149 |
)
|
150 |
|
151 |
+
def _compute(self, predictions, references, output, k=[1, 10, 100], num_workers=4, timeout=30.0):
|
152 |
"""Returns the scores"""
|
153 |
|
154 |
if os.getenv("HF_ALLOW_CODE_EVAL", 0) != "1":
|