qingxu99 commited on
Commit
ab373c5
1 Parent(s): f714bfc

移动参数位置

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -50,7 +50,7 @@ if LAYOUT == "TOP-DOWN":
50
  CHATBOT_HEIGHT /= 2
51
 
52
  cancel_handles = []
53
- with gr.Blocks(theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
54
  gr.HTML(title_html)
55
  with gr_L1():
56
  with gr_L2(scale=2):
@@ -170,5 +170,4 @@ def auto_opentab_delay():
170
  threading.Thread(target=auto_update, name="self-upgrade", daemon=True).start()
171
 
172
  auto_opentab_delay()
173
- demo.title = "ChatGPT 学术优化"
174
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=True, server_port=PORT, auth=AUTHENTICATION)
 
50
  CHATBOT_HEIGHT /= 2
51
 
52
  cancel_handles = []
53
+ with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
54
  gr.HTML(title_html)
55
  with gr_L1():
56
  with gr_L2(scale=2):
 
170
  threading.Thread(target=auto_update, name="self-upgrade", daemon=True).start()
171
 
172
  auto_opentab_delay()
 
173
  demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=True, server_port=PORT, auth=AUTHENTICATION)