Spaces:
Runtime error
Runtime error
juanmartip95
commited on
Commit
β’
6eea930
1
Parent(s):
658adc0
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size="sm"),css=css) as demo:
|
|
88 |
with gr.Row():
|
89 |
humano = gr.Button("Asesor humano πββοΈπββοΈ",link='https://wa.me')
|
90 |
humano.size="sm"
|
91 |
-
|
92 |
history_button = gr.Button("Show history")
|
93 |
btn.click(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history])
|
94 |
msg.submit(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history]) #Press enter to submit
|
|
|
88 |
with gr.Row():
|
89 |
humano = gr.Button("Asesor humano πββοΈπββοΈ",link='https://wa.me')
|
90 |
humano.size="sm"
|
91 |
+
history=gr.JSON(value="[]",visible=False)
|
92 |
history_button = gr.Button("Show history")
|
93 |
btn.click(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history])
|
94 |
msg.submit(respond, inputs=[msg, chatbot,history], outputs=[msg, chatbot,history]) #Press enter to submit
|