Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,10 +72,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
72 |
with gr.Row():
|
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 |
def respond(message, chat_history, model_name):
|
80 |
response = chatbot_response(message, model_name)
|
81 |
response = clean_response(response)
|
|
|
72 |
with gr.Row():
|
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 |
+
history_output = gr.JSON()
|
80 |
+
|
81 |
def respond(message, chat_history, model_name):
|
82 |
response = chatbot_response(message, model_name)
|
83 |
response = clean_response(response)
|