zxcgqq commited on
Commit
c8c0cec
·
1 Parent(s): a53665e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def run_text(self, text, state):
21
 
22
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
23
  chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
 
24
  with gr.Row() as input_raws:
25
  with gr.Column(scale=0.6):
26
  txt = gr.Textbox(show_label=False).style(container=False)
 
21
 
22
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
23
  chatbot = gr.Chatbot(elem_id="chatbot",show_label=False)
24
+ state = gr.State([])
25
  with gr.Row() as input_raws:
26
  with gr.Column(scale=0.6):
27
  txt = gr.Textbox(show_label=False).style(container=False)