def show_predictions(self, predictions):
        """Converts predictions to Label Studio results."""
        results = []
        for prediction_batch in predictions:
            for pred in prediction_batch:
                results.append(self._construct_result(pred))
        return results
Converts predictions to Label Studio results.
src/flash/core/integrations/labelstudio/visualizer.py