JSAV commited on
Commit
688dd54
β€’
1 Parent(s): 3ff9f73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size="sm"),css=css) as demo:
75
  with gr.Row():
76
  humano = gr.Button("Asesor humano πŸ™‹β€β™‚οΈπŸ™‹β€β™€οΈ",link='https://wa.me')
77
  humano.size="sm"
78
- history=gr.JSON(value=[],visible=True)
79
  #history_button = gr.Button("Show history")
80
  btn.click(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history])
81
  msg.submit(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history]) #Press enter to submit
 
75
  with gr.Row():
76
  humano = gr.Button("Asesor humano πŸ™‹β€β™‚οΈπŸ™‹β€β™€οΈ",link='https://wa.me')
77
  humano.size="sm"
78
+ history= gr.State([])#gr.JSON(value=[],visible=True)
79
  #history_button = gr.Button("Show history")
80
  btn.click(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history])
81
  msg.submit(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history]) #Press enter to submit