Skip to content

Commit b1c5a68

Browse files
Tweak message shown in Colab notebooks (#9662)
* colab message * add changeset --------- Co-authored-by: gradio-pr-bot <[email protected]>
1 parent 363ef38 commit b1c5a68

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/afraid-papayas-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gradio": minor
3+
---
4+
5+
feat:Tweak message shown in Colab notebooks

gradio/blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@ def reverse(text):
25412541
if self.is_colab:
25422542
if not quiet:
25432543
print(
2544-
"Setting queue=True in a Colab notebook requires sharing enabled. Setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n"
2544+
"Running Gradio in a Colab notebook requires sharing enabled. Automatically setting `share=True` (you can turn this off by setting `share=False` in `launch()` explicitly).\n"
25452545
)
25462546
self.share = True
25472547
elif self.is_kaggle:

0 commit comments

Comments
 (0)