Skip to content

Commit

Permalink
移动参数位置
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-sky committed Apr 8, 2023
1 parent 94ff62b commit 4e3f759
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
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):
Expand Down Expand Up @@ -170,5 +170,4 @@ def open():
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)

0 comments on commit 4e3f759

Please sign in to comment.