[webui] update css (#6985)

Former-commit-id: 302ecb00fef56d1ccc9203cb46f242841fefab47
This commit is contained in:
hoshi-hiyouga 2025-02-18 18:27:57 +08:00 committed by GitHub
parent beb1a9f9d9
commit b0bbacaacb
2 changed files with 6 additions and 3 deletions

View File

@ -76,7 +76,7 @@ def create_chat_box(
submit_btn = gr.Button(variant="primary")
with gr.Column(scale=1):
max_new_tokens = gr.Slider(minimum=8, maximum=4096, value=512, step=1)
max_new_tokens = gr.Slider(minimum=8, maximum=8192, value=1024, step=1)
top_p = gr.Slider(minimum=0.01, maximum=1.0, value=0.7, step=0.01)
temperature = gr.Slider(minimum=0.01, maximum=1.5, value=0.95, step=0.01)
clear_btn = gr.Button()

View File

@ -25,12 +25,15 @@ CSS = r"""
}
.thinking-summary span {
border: 1px solid #e0e0e0 !important;
border-radius: 4px !important;
padding: 4px !important;
cursor: pointer !important;
font-size: 14px !important;
background: #333333 !important;
background: rgb(245, 245, 245) !important;
}
.dark .thinking-summary span {
background: rgb(73, 73, 73) !important;
}
.thinking-container {