ashimanair commited on
Commit
a8a58a7
·
verified ·
1 Parent(s): 82b0a8f

i fear i have not gotten random help me

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