leahb commited on
Commit
acb3db1
·
verified ·
1 Parent(s): 57b5edf

Update app.py

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