RithikaChalam commited on
Commit
892717b
·
verified ·
1 Parent(s): 8262aca

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
  answers = ["yes", "no"]
5
 
6
- def yes_or_no(message,history):
7
  return random.answers
8
 
9
- chatbot = gr.ChatInterface(yes_or_no, type='messages')
10
  chatbot.launch()
 
3
 
4
  answers = ["yes", "no"]
5
 
6
+ def yes_or_no():
7
  return random.answers
8
 
9
+ chatbot = gr.ChatInterface(yes_or_no)
10
  chatbot.launch()