Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|