From 3cf9c888918c89845a9a086b854320f811153c33 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Sun, 7 May 2023 14:12:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=97=E8=89=B2=E6=A8=A1=E5=BC=8F=E9=80=82?= =?UTF-8?q?=E9=85=8D=E6=96=B0=E7=89=88gradio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cb14776..0617727 100644 --- a/main.py +++ b/main.py @@ -183,7 +183,7 @@ def main(): import threading, webbrowser, time print(f"如果浏览器没有自动打开,请复制并转到以下URL:") print(f"\t(亮色主题): http://localhost:{PORT}") - print(f"\t(暗色主题): http://localhost:{PORT}/?__dark-theme=true") + print(f"\t(暗色主题): http://localhost:{PORT}/?__theme=dark") def open(): time.sleep(2) # 打开浏览器 DARK_MODE, = get_conf('DARK_MODE')