ewingreen commited on
Commit
fc8e01d
·
verified ·
1 Parent(s): 1eecabc

Added title, description, and examples

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,5 +11,7 @@ def yes_or_no(message, history):
11
  print("history:", history)
12
  return random.choice(responses)
13
 
14
- chatbot = gr.ChatInterface(yes_or_no, type='messages')
 
 
15
  chatbot.launch()
 
11
  print("history:", history)
12
  return random.choice(responses)
13
 
14
+ chatbot = gr.ChatInterface(yes_or_no, type='messages', title="Yes or No Bot",
15
+ description = "This chatbot only responds with Yes or No",
16
+ examples = ["Is today my lucky day?", "Are you my mother?"])
17
  chatbot.launch()