Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
2c40dcd
1
Parent(s):
786c822
chore:样式与用词修改
Browse files- ChuanhuChatbot.py +2 -2
- assets/custom.css +2 -0
ChuanhuChatbot.py
CHANGED
@@ -88,8 +88,8 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
88 |
"🧹 新的对话",
|
89 |
)
|
90 |
retryBtn = gr.Button("🔄 重新生成")
|
91 |
-
delFirstBtn = gr.Button("🗑️
|
92 |
-
delLastBtn = gr.Button("🗑️
|
93 |
reduceTokenBtn = gr.Button("♻️ 总结对话")
|
94 |
|
95 |
with gr.Column():
|
|
|
88 |
"🧹 新的对话",
|
89 |
)
|
90 |
retryBtn = gr.Button("🔄 重新生成")
|
91 |
+
delFirstBtn = gr.Button("🗑️ 删除最旧对话")
|
92 |
+
delLastBtn = gr.Button("🗑️ 删除最新对话")
|
93 |
reduceTokenBtn = gr.Button("♻️ 总结对话")
|
94 |
|
95 |
with gr.Column():
|
assets/custom.css
CHANGED
@@ -39,6 +39,7 @@ ol:not(.options), ul:not(.options) {
|
|
39 |
@media (prefers-color-scheme: light) {
|
40 |
#chuanhu_chatbot {
|
41 |
background-color: var(--chatbot-color-light) !important;
|
|
|
42 |
}
|
43 |
[data-testid = "bot"] {
|
44 |
background-color: #FFFFFF !important;
|
@@ -51,6 +52,7 @@ ol:not(.options), ul:not(.options) {
|
|
51 |
@media (prefers-color-scheme: dark) {
|
52 |
#chuanhu_chatbot {
|
53 |
background-color: var(--chatbot-color-dark) !important;
|
|
|
54 |
}
|
55 |
[data-testid = "bot"] {
|
56 |
background-color: #2C2C2C !important;
|
|
|
39 |
@media (prefers-color-scheme: light) {
|
40 |
#chuanhu_chatbot {
|
41 |
background-color: var(--chatbot-color-light) !important;
|
42 |
+
color: #000000 !important;
|
43 |
}
|
44 |
[data-testid = "bot"] {
|
45 |
background-color: #FFFFFF !important;
|
|
|
52 |
@media (prefers-color-scheme: dark) {
|
53 |
#chuanhu_chatbot {
|
54 |
background-color: var(--chatbot-color-dark) !important;
|
55 |
+
color: #FFFFFF !important;
|
56 |
}
|
57 |
[data-testid = "bot"] {
|
58 |
background-color: #2C2C2C !important;
|