ipvikas commited on
Commit
a44a283
1 Parent(s): 6796c61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -215,6 +215,11 @@ def get_response(input_text):
215
 
216
 
217
  title = "WeASK: ChatBOT"
218
- description = "Hi!!!! How can I help you"
219
- chatbot_demo = gr.Interface(fn=get_response, inputs = 'text',outputs='text',title = title, description = description)
 
 
 
 
 
220
  chatbot_demo.launch()
 
215
 
216
 
217
  title = "WeASK: ChatBOT"
218
+ description = "Hi!! enter your query or to get answers from Wikipedia, write like 'From Wikipedia <your query>'... See examples."
219
+ examples = [
220
+ ["from wikipedia what is calculus"]
221
+
222
+ ]
223
+
224
+ chatbot_demo = gr.Interface(fn=get_response, inputs = 'text',outputs='text',title = title, description = description, examples = examples)
225
  chatbot_demo.launch()