mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
[webui] update css (#6985)
Former-commit-id: 302ecb00fef56d1ccc9203cb46f242841fefab47
This commit is contained in:
parent
beb1a9f9d9
commit
b0bbacaacb
@ -76,7 +76,7 @@ def create_chat_box(
|
|||||||
submit_btn = gr.Button(variant="primary")
|
submit_btn = gr.Button(variant="primary")
|
||||||
|
|
||||||
with gr.Column(scale=1):
|
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)
|
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)
|
temperature = gr.Slider(minimum=0.01, maximum=1.5, value=0.95, step=0.01)
|
||||||
clear_btn = gr.Button()
|
clear_btn = gr.Button()
|
||||||
|
@ -25,12 +25,15 @@ CSS = r"""
|
|||||||
}
|
}
|
||||||
|
|
||||||
.thinking-summary span {
|
.thinking-summary span {
|
||||||
border: 1px solid #e0e0e0 !important;
|
|
||||||
border-radius: 4px !important;
|
border-radius: 4px !important;
|
||||||
padding: 4px !important;
|
padding: 4px !important;
|
||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
font-size: 14px !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 {
|
.thinking-container {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user