hagardner18 commited on
Commit
28f6ef0
·
verified ·
1 Parent(s): 8d650bb

fixed errors

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def yes_no(message, history):
5
  respones = ['yes','no']
6
  return random.choice(respones)
7
 
8
- chatbot = gr.ChatInterface(yes_no, type='messages', title: "Yes or No Chatbot", description: "This is a chatbot that responds with yes or no to your questions!")
9
  chatbot.launch()
 
5
  respones = ['yes','no']
6
  return random.choice(respones)
7
 
8
+ chatbot = gr.ChatInterface(yes_no, type='messages', title= "Yes or No Chatbot", description= "This is a chatbot that responds with yes or no to your questions!", examples= ["Will I win the lottery today?", "Will it rain today?", "Do I need a jacket today?"])
9
  chatbot.launch()