sidagarwal04 commited on
Commit
db6f419
·
verified ·
1 Parent(s): f46e533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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)