This commit is contained in:
binary-husky 2023-07-09 21:18:04 +08:00
parent dd47c0a284
commit ce9eb8d20a
4 changed files with 6 additions and 6 deletions

View File

@ -306,7 +306,7 @@ gpt_academic开发者QQ群-2610599535
### III主题 ### III主题
1. `Chuanhu-Keldos-Green` [网址](https://github.com/GaiZhenbiao/ChuanhuChatGPT/) 1. `Chuanhu-Small-and-Beautiful` [网址](https://github.com/GaiZhenbiao/ChuanhuChatGPT/)
### IV参考与学习 ### IV参考与学习

View File

@ -85,7 +85,7 @@ CONCURRENT_COUNT = 100
# 是否在提交时自动清空输入框 # 是否在提交时自动清空输入框
AUTO_CLEAR_TXT = False AUTO_CLEAR_TXT = False
# 色彩主体,可选 ["Default", "Chuanhu-Keldos-Green"] # 色彩主体,可选 ["Default", "Chuanhu-Small-and-Beautiful"]
THEME = "Default" THEME = "Default"
# 加一个live2d装饰 # 加一个live2d装饰
@ -124,6 +124,6 @@ put your new bing cookies here
# 阿里云实时语音识别 配置门槛较高 限高级用户使用 参考 https://help.aliyun.com/document_detail/450255.html # 阿里云实时语音识别 配置门槛较高 限高级用户使用 参考 https://help.aliyun.com/document_detail/450255.html
ENABLE_AUDIO = True ENABLE_AUDIO = False
ALIYUN_TOKEN="" # 例如 f37f30e0f9934c34a992f6f64f7eba4f ALIYUN_TOKEN="" # 例如 f37f30e0f9934c34a992f6f64f7eba4f
ALIYUN_APPKEY="" # 例如 RoPlZrM88DnAFkZK ALIYUN_APPKEY="" # 例如 RoPlZrM88DnAFkZK

View File

@ -16,7 +16,7 @@ def main():
from check_proxy import get_current_version from check_proxy import get_current_version
from theme.theme import adjust_theme, advanced_css, theme_declaration from theme.theme import adjust_theme, advanced_css, theme_declaration
initial_prompt = "Serve me as a writing and programming assistant." initial_prompt = "Serve me as a writing and programming assistant."
title_html = f"<h1 align=\"center\">GPT 学术优化 {get_current_version()}{theme_declaration}</h1>" title_html = f"<h1 align=\"center\">GPT 学术优化 {get_current_version()}</h1><h2 align=\"center\" class=\"small\">{theme_declaration}</h2>"
description = """代码开源和更新[地址🚀](https://github.com/binary-husky/chatgpt_academic),感谢热情的[开发者们❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)""" description = """代码开源和更新[地址🚀](https://github.com/binary-husky/chatgpt_academic),感谢热情的[开发者们❤️](https://github.com/binary-husky/chatgpt_academic/graphs/contributors)"""
# 问询记录, python 版本建议3.9+(越新越好) # 问询记录, python 版本建议3.9+(越新越好)

View File

@ -2,9 +2,9 @@ import gradio as gr
from toolbox import get_conf from toolbox import get_conf
THEME, = get_conf('THEME') THEME, = get_conf('THEME')
if THEME == 'Chuanhu-Keldos-Green': if THEME == 'Chuanhu-Small-and-Beautiful':
from .green import adjust_theme, advanced_css from .green import adjust_theme, advanced_css
theme_declaration = "\t" + "[Chuanhu-Keldos暗绿主题]" theme_declaration = "\t" + "<smaller>[Chuanhu-Small-and-Beautiful主题]</smaller>"
else: else:
from .default import adjust_theme, advanced_css from .default import adjust_theme, advanced_css
theme_declaration = "" theme_declaration = ""