def _predict_resolve(self, *data) -> Any:
        """Needed for gradio.load(), which has a slightly different signature for serializing/deserializing"""
        outputs = self.make_predict()(*data)
        if len(self.dependency["outputs"]) == 1:
            return outputs[0]
        return outputs
Needed for gradio.load(), which has a slightly different signature for serializing/deserializing
client/python/gradio_client/compatibility.py