Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
abidlabs committed Oct 5, 2024
1 parent 09b7735 commit 8d7caca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gradio/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8d7caca

Please sign in to comment.