diff --git a/.changeset/floppy-pandas-appear.md b/.changeset/floppy-pandas-appear.md new file mode 100644 index 000000000000..7b9880429471 --- /dev/null +++ b/.changeset/floppy-pandas-appear.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Disable sagemaker_check() for now diff --git a/gradio/blocks.py b/gradio/blocks.py index cb501420d9e6..db54a1a1dd5d 100644 --- a/gradio/blocks.py +++ b/gradio/blocks.py @@ -2523,7 +2523,9 @@ def reverse(text): # So we need to manually cancel them. See `self.close()`.. self.startup_events() - self.is_sagemaker = utils.sagemaker_check() + self.is_sagemaker = ( + False # TODO: fix Gradio's behavior in sagemaker and other hosted notebooks + ) if share is None: if self.is_colab: if not quiet: