matchalover commited on
Commit
c7fbdc5
·
verified ·
1 Parent(s): d6723ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import random
3
 
4
  def magic_chatbot(message, history):
5
  magic_8 = ["Yes", "No", "Don't know"]
6
- print (random.choices(magic_8))
7
 
8
  chatbot = gr.ChatInterface(magic_chatbot, type='messages')
9
  chatbot.launch()
 
3
 
4
  def magic_chatbot(message, history):
5
  magic_8 = ["Yes", "No", "Don't know"]
6
+ return random.choices(magic_8)
7
 
8
  chatbot = gr.ChatInterface(magic_chatbot, type='messages')
9
  chatbot.launch()