Update app.py
Browse files
app.py
CHANGED
@@ -167,8 +167,8 @@ def gradio_interface():
|
|
167 |
return [{"role": "user", "content": user_input}, {"role": "assistant", "content": response}]
|
168 |
|
169 |
with gr.Blocks() as demo:
|
170 |
-
gr.Markdown("#
|
171 |
-
chatbot = gr.Chatbot(label="
|
172 |
user_input = gr.Textbox(label="Digite sua pergunta")
|
173 |
submit_button = gr.Button("Enviar")
|
174 |
|
|
|
167 |
return [{"role": "user", "content": user_input}, {"role": "assistant", "content": response}]
|
168 |
|
169 |
with gr.Blocks() as demo:
|
170 |
+
gr.Markdown("# Agent")
|
171 |
+
chatbot = gr.Chatbot(label="Result Agent", type="messages")
|
172 |
user_input = gr.Textbox(label="Digite sua pergunta")
|
173 |
submit_button = gr.Button("Enviar")
|
174 |
|