diff --git a/gradio/blocks.py b/gradio/blocks.py index 8c8412e319b43..db54a1a1dd5dd 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 = False # TODO: fix Gradio's behavior in sagemaker and other hosted notebooks + 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: