(self, audio, **kwargs)
| 135 | self.task = "audio-classification" |
| 136 | |
| 137 | def __call__(self, audio, **kwargs): |
| 138 | return [[{"score": 0.9, "label": "yes"}, {"score": 0.1, "label": "no"}] for i, _ in enumerate(audio)] |
| 139 | |
| 140 | |
| 141 | class TestEvaluator(TestCase): |
nothing calls this directly
no outgoing calls
no test coverage detected