From 6129b1a4a173085d17079bea4949e9cc93062ecc Mon Sep 17 00:00:00 2001 From: "Jonathan C. McKinney" Date: Tue, 30 May 2023 00:06:27 -0700 Subject: [PATCH] Fixes #207 --- gradio_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradio_runner.py b/gradio_runner.py index 510052e61..721fb9edc 100644 --- a/gradio_runner.py +++ b/gradio_runner.py @@ -1426,7 +1426,8 @@ def count_chat_tokens(model_state1, chat1, prompt_type1): demo.launch(share=kwargs['share'], server_name="0.0.0.0", show_error=True, favicon_path=favicon_path, prevent_thread_lock=True, auth=kwargs['auth']) - print("Started GUI", flush=True) + if kwargs['verbose']: + print("Started GUI", flush=True) if kwargs['block_gradio_exit']: demo.block_thread()