lmt commited on
Commit
353399b
·
1 Parent(s): e0f18aa

调整样式

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ with gr.Blocks(css=customCSS) as server:
18
  with gr.Column(scale=1):
19
  use_streaming_checkbox = gr.Checkbox(
20
  label="实时传输回答", value=True, visible=enable_streaming_option)
21
- chatbot = gr.Chatbot(elem_id="chat", color_map=("#1D51EE", "#ffffff"))
 
22
  history = gr.State([])
23
  token_count = gr.State([])
24
  promptTemplates = gr.State(load_template(
 
18
  with gr.Column(scale=1):
19
  use_streaming_checkbox = gr.Checkbox(
20
  label="实时传输回答", value=True, visible=enable_streaming_option)
21
+ chatbot = gr.Chatbot(elem_id="chat")
22
+ chatbot.style(color_map=("#1D51EE", "#ffffff"))
23
  history = gr.State([])
24
  token_count = gr.State([])
25
  promptTemplates = gr.State(load_template(