test
Browse files- parapluie.py +3 -3
parapluie.py
CHANGED
|
@@ -101,10 +101,10 @@ class Parapluie(evaluate.Metric):
|
|
| 101 |
# reference_urls=["http://path.to.reference.url/new_module"]
|
| 102 |
)
|
| 103 |
|
| 104 |
-
def _download_and_prepare(self,
|
| 105 |
-
|
| 106 |
-
# TODO: Download external resources if needed*
|
| 107 |
print("is this working ? is this replacing init ?")
|
|
|
|
| 108 |
pass
|
| 109 |
|
| 110 |
def _compute(self, predictions, references):
|
|
|
|
| 101 |
# reference_urls=["http://path.to.reference.url/new_module"]
|
| 102 |
)
|
| 103 |
|
| 104 |
+
def _download_and_prepare(self, something):
|
| 105 |
+
# initialisation of metric
|
|
|
|
| 106 |
print("is this working ? is this replacing init ?")
|
| 107 |
+
print("my arg: ", something)
|
| 108 |
pass
|
| 109 |
|
| 110 |
def _compute(self, predictions, references):
|