Amanda Sackey commited on
Commit
9d3b550
·
verified ·
1 Parent(s): 87dc15e

Update to yes or no random responses

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def respond_yes_no_randomly(message, history):
5
  responses = ["Yes","No"] #added here
6
  return random.choice(responses) #added here
7
 
8
- print("Hello World!")
9
  chatbot = gr.ChatInterface(respond_yes_no_randomly, type="messages", title = "Yes No BOT") #chatbot UI - conversion history and user input
10
 
11
  chatbot.launch()
 
5
  responses = ["Yes","No"] #added here
6
  return random.choice(responses) #added here
7
 
8
+
9
  chatbot = gr.ChatInterface(respond_yes_no_randomly, type="messages", title = "Yes No BOT") #chatbot UI - conversion history and user input
10
 
11
  chatbot.launch()