(self, numpy_image)
| 35 | return self.model(x) |
| 36 | |
| 37 | def encode_response(self, numpy_image) -> ImageOutput: |
| 38 | output = Image.fromarray(np.uint8(numpy_image)).convert("RGB") |
| 39 | return ImageOutput(image=output) |
| 40 | |
| 41 | |
| 42 | def test_image_input_output(tmpdir): |
nothing calls this directly
no test coverage detected