Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,6 @@ def add_note_to_history(note, note_history):
|
|
26 |
return [note_history]
|
27 |
|
28 |
|
29 |
-
title = "Mantain a conversation with the bot"
|
30 |
-
|
31 |
def chatbot(message, history):
|
32 |
history = history or []
|
33 |
if history:
|
@@ -56,6 +54,5 @@ gr.Interface(
|
|
56 |
css=".footer {display:none !important}",
|
57 |
inputs=[gr.Textbox(lines=1, label="Message"), "state"],
|
58 |
outputs=[gr.Chatbot(label="Chat"), "state"],
|
59 |
-
title=title,
|
60 |
allow_flagging="never",
|
61 |
).launch( debug= True)
|
|
|
26 |
return [note_history]
|
27 |
|
28 |
|
|
|
|
|
29 |
def chatbot(message, history):
|
30 |
history = history or []
|
31 |
if history:
|
|
|
54 |
css=".footer {display:none !important}",
|
55 |
inputs=[gr.Textbox(lines=1, label="Message"), "state"],
|
56 |
outputs=[gr.Chatbot(label="Chat"), "state"],
|
|
|
57 |
allow_flagging="never",
|
58 |
).launch( debug= True)
|