Update main.py
Browse files
main.py
CHANGED
@@ -14,8 +14,8 @@ def main():
|
|
14 |
|
15 |
from check_proxy import get_current_version
|
16 |
initial_prompt = "Serve me as a writing and programming assistant."
|
17 |
-
title_html = f"<h1 align=\"center\"
|
18 |
-
description = """
|
19 |
|
20 |
# 问询记录, python 版本建议3.9+(越新越好)
|
21 |
import logging
|
@@ -183,6 +183,6 @@ def main():
|
|
183 |
|
184 |
auto_opentab_delay()
|
185 |
#demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
|
186 |
-
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=False, favicon_path="docs/logo.png",auth=("fbai", "Fbai!234"), )
|
187 |
if __name__ == "__main__":
|
188 |
main()
|
|
|
14 |
|
15 |
from check_proxy import get_current_version
|
16 |
initial_prompt = "Serve me as a writing and programming assistant."
|
17 |
+
title_html = f"<h1 align=\"center\">帛凡 ChatGPT 学术优化 {get_current_version()}</h1>"
|
18 |
+
description = """和气生财,万事如意"""
|
19 |
|
20 |
# 问询记录, python 版本建议3.9+(越新越好)
|
21 |
import logging
|
|
|
183 |
|
184 |
auto_opentab_delay()
|
185 |
#demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", server_port=PORT, auth=AUTHENTICATION, favicon_path="docs/logo.png")
|
186 |
+
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(server_name="0.0.0.0", share=False, favicon_path="docs/logo.png",auth=(["fbai", "Fbai!234"],["kmsmj", "017962"] ), )
|
187 |
if __name__ == "__main__":
|
188 |
main()
|