Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -110,5 +110,15 @@ def chatbot(input, history=[]):
|
|
110 |
return history, history
|
111 |
|
112 |
gr.Interface(fn = chatbot,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
inputs = ["text",'state'],
|
114 |
outputs = ["chatbot",'state']).launch(debug = True, share=True)
|
|
|
110 |
return history, history
|
111 |
|
112 |
gr.Interface(fn = chatbot,
|
113 |
+
title = "Mahabharata Chatbot",
|
114 |
+
description = "powered by Neo4j",
|
115 |
+
theme = "soft",
|
116 |
+
chatbot = gr.Chatbot(height=500),
|
117 |
+
undo_btn = None,
|
118 |
+
clear_btn = "\U0001F5D1 Clear chat",
|
119 |
+
examples = ["Who killed Ghatotakach?",
|
120 |
+
"Who are the parents of Karna?",
|
121 |
+
"Who are the kids of Kunti?",
|
122 |
+
"Who are the siblings of Karna?"],
|
123 |
inputs = ["text",'state'],
|
124 |
outputs = ["chatbot",'state']).launch(debug = True, share=True)
|