Code4ueru commited on
Commit
3e8666e
·
verified ·
1 Parent(s): 9b14d7b

Changed return to "Random_choice" No more echo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import random
4
  def echo(message, history):
5
  choices = ["Mhm", "nah fam"]
6
  random_choice = random.choice(choices)
7
- return message
8
 
9
  chatbot = gr.ChatInterface(echo, type = "messages")
10
 
 
4
  def echo(message, history):
5
  choices = ["Mhm", "nah fam"]
6
  random_choice = random.choice(choices)
7
+ return random_choice
8
 
9
  chatbot = gr.ChatInterface(echo, type = "messages")
10