From ab373c5bf79f26b3b7c0a807fd646828dbb60b98 Mon Sep 17 00:00:00 2001 From: qingxu fu <505030475@qq.com> Date: Sat, 8 Apr 2023 22:16:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=8F=82=E6=95=B0=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 41bd474..64786d5 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,7 @@ if LAYOUT == "TOP-DOWN": CHATBOT_HEIGHT /= 2 cancel_handles = [] -with gr.Blocks(theme=set_theme, analytics_enabled=False, css=advanced_css) as demo: +with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo: gr.HTML(title_html) with gr_L1(): with gr_L2(scale=2): @@ -170,5 +170,4 @@ def auto_opentab_delay(): threading.Thread(target=auto_update, name="self-upgrade", daemon=True).start() auto_opentab_delay() -demo.title = "ChatGPT 学术优化" demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=True, server_port=PORT, auth=AUTHENTICATION)