update compute
Browse files- charmatch.py +1 -1
charmatch.py
CHANGED
@@ -87,7 +87,7 @@ class charmatch(evaluate.Metric):
|
|
87 |
# TODO: Download external resources if needed
|
88 |
pass
|
89 |
|
90 |
-
def _compute(input, expected, output):
|
91 |
print(input, expected, output)
|
92 |
deduped = {input, expected, output}
|
93 |
if len(deduped) == 1:
|
|
|
87 |
# TODO: Download external resources if needed
|
88 |
pass
|
89 |
|
90 |
+
def _compute(self, input, expected, output):
|
91 |
print(input, expected, output)
|
92 |
deduped = {input, expected, output}
|
93 |
if len(deduped) == 1:
|