Update app.py
Browse files
app.py
CHANGED
@@ -50,19 +50,9 @@ def responder(mensagem, historico):
|
|
50 |
# Interface do chat com labels em português
|
51 |
demo = gr.ChatInterface(
|
52 |
responder,
|
53 |
-
title="Benjamin – Assistente Virtual da CEaD - IBC",
|
54 |
-
|
55 |
-
|
56 |
-
label="Campo de mensagem: Digite uma mensagem e depois tecle Enter",
|
57 |
-
lines=3,
|
58 |
-
show_label=True
|
59 |
-
),
|
60 |
-
theme="default",
|
61 |
-
submit_btn="Enviar mensagem",
|
62 |
-
stop_btn="Parar resposta",
|
63 |
-
retry_btn="Tentar novamente",
|
64 |
-
clear_btn="Limpar conversa",
|
65 |
-
type="messages"
|
66 |
)
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
50 |
# Interface do chat com labels em português
|
51 |
demo = gr.ChatInterface(
|
52 |
responder,
|
53 |
+
title="Benjamin – Assistente Virtual da CEaD - IBC. Tire suas dúvidas com minha inteligência artificial (minha base de dados vai até 2021)",
|
54 |
+
textbox=gr.Textbox(label="Campo de mensagem: Digite uma mensagem e depois tecle Enter"),
|
55 |
+
type="messages"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
)
|
57 |
|
58 |
if __name__ == "__main__":
|