hujameson commited on
Commit
4922c3e
·
verified ·
1 Parent(s): 19a4e81

Update app.py

Browse files

add label for Chatbot

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def answer(question, history=[]):
49
  return responses, history
50
 
51
  with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as demo:
52
- chatbot = gr.Chatbot(elem_id="chatbot")
53
  state = gr.State([])
54
 
55
  with gr.Row():
 
49
  return responses, history
50
 
51
  with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as demo:
52
+ chatbot = gr.Chatbot(elem_id="chatbot", label="儿童陪伴机器人")
53
  state = gr.State([])
54
 
55
  with gr.Row():