AriniR commited on
Commit
aad69b5
·
verified ·
1 Parent(s): 5acce1c

Update app.py

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