Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -73,11 +73,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
73 |
btn = gr.Button("Enviar", variant="primary")
|
74 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|
75 |
|
76 |
-
|
|
|
77 |
gr.Column(scale=0.5, min_width=40)
|
78 |
|
79 |
-
|
80 |
-
|
81 |
def respond(message, chat_history, model_name):
|
82 |
response = chatbot_response(message, model_name)
|
83 |
response = clean_response(response)
|
|
|
73 |
btn = gr.Button("Enviar", variant="primary")
|
74 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|
75 |
|
76 |
+
history_output = gr.JSON()
|
77 |
+
|
78 |
gr.Column(scale=0.5, min_width=40)
|
79 |
|
|
|
|
|
80 |
def respond(message, chat_history, model_name):
|
81 |
response = chatbot_response(message, model_name)
|
82 |
response = clean_response(response)
|