def __repr__(self) -> str:
        """Display the Argilla space in a notebook or Google Colab."""

        if is_notebook() or is_google_colab():
            from IPython.display import IFrame, display

            display(IFrame(src=self.api_url, frameborder=0, width=850, height=600))
            return f"Argilla has been deployed at: {self.api_url}"
        else:
            return super().__repr__()
Display the Argilla space in a notebook or Google Colab.
argilla/src/argilla/_helpers/_resource_repr.py