mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-24 13:01:18 +08:00
Suppress printing "Running on local URL:" when quiet is set (#7892)
* Update blocks.py Suppress printing "Running on local URL:" when quiet is set * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
6a6db36466
commit
c7933ffedb
5
.changeset/green-brooms-work.md
Normal file
5
.changeset/green-brooms-work.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
feat:Suppress printing "Running on local URL:" when quiet is set
|
@ -2096,7 +2096,7 @@ Received outputs:
|
||||
if self.local_url.startswith("https") or self.is_colab
|
||||
else "http"
|
||||
)
|
||||
if not wasm_utils.IS_WASM and not self.is_colab:
|
||||
if not wasm_utils.IS_WASM and not self.is_colab and not quiet:
|
||||
print(
|
||||
strings.en["RUNNING_LOCALLY_SEPARATED"].format(
|
||||
self.protocol, self.server_name, self.server_port
|
||||
|
Loading…
x
Reference in New Issue
Block a user