MoDongbao commited on
Commit
69b5d45
1 Parent(s): 36a1382

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -7
main.py CHANGED
@@ -14,13 +14,6 @@ if not AUTHENTICATION: AUTHENTICATION = None
14
  initial_prompt = "Serve me as a writing and programming assistant."
15
  title_html = """<h1 align="left">ChatGPT 学术优化</h1>"""
16
 
17
- # 问询记录, python 版本建议3.9+(越新越好)
18
- import logging
19
- os.makedirs("gpt_log", exist_ok=True)
20
- try:logging.basicConfig(filename="gpt_log/chat_secrets.log", level=logging.INFO, encoding="utf-8")
21
- except:logging.basicConfig(filename="gpt_log/chat_secrets.log", level=logging.INFO)
22
- print("所有问询记录将自动保存在本地目录./gpt_log/chat_secrets.log, 请注意自我隐私保护哦!")
23
-
24
  # 一些普通功能模块
25
  from functional import get_functionals
26
  functional = get_functionals()
 
14
  initial_prompt = "Serve me as a writing and programming assistant."
15
  title_html = """<h1 align="left">ChatGPT 学术优化</h1>"""
16
 
 
 
 
 
 
 
 
17
  # 一些普通功能模块
18
  from functional import get_functionals
19
  functional = get_functionals()