Maddiew1314 commited on
Commit
1bcc71a
·
verified ·
1 Parent(s): fc4bb98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def echo(message, history):
5
  choices = ["yes", "no"]
6
  #use random to select one of those messages
7
  random_word = random.choice(choices)
8
- return message
9
  print(random_word)
10
 
11
  chatbot = gr.ChatInterface(echo, type = "messages")
 
5
  choices = ["yes", "no"]
6
  #use random to select one of those messages
7
  random_word = random.choice(choices)
8
+ return random_word
9
  print(random_word)
10
 
11
  chatbot = gr.ChatInterface(echo, type = "messages")