qingxu99 commited on
Commit
f714bfc
1 Parent(s): 09ab60c
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -161,8 +161,8 @@ with gr.Blocks(theme=set_theme, analytics_enabled=False, css=advanced_css) as de
161
  def auto_opentab_delay():
162
  import threading, webbrowser, time
163
  print(f"如果浏览器没有自动打开,请复制并转到以下URL:")
164
- print(f"\t(亮色主体): http://localhost:{PORT}")
165
- print(f"\t(暗色主体): http://localhost:{PORT}/?__dark-theme=true")
166
  def open():
167
  time.sleep(2) # 打开浏览器
168
  webbrowser.open_new_tab(f"http://localhost:{PORT}/?__dark-theme=true")
 
161
  def auto_opentab_delay():
162
  import threading, webbrowser, time
163
  print(f"如果浏览器没有自动打开,请复制并转到以下URL:")
164
+ print(f"\t(亮色主题): http://localhost:{PORT}")
165
+ print(f"\t(暗色主题): http://localhost:{PORT}/?__dark-theme=true")
166
  def open():
167
  time.sleep(2) # 打开浏览器
168
  webbrowser.open_new_tab(f"http://localhost:{PORT}/?__dark-theme=true")