dyna-67 commited on
Commit
5e7450f
·
verified ·
1 Parent(s): 7ab7b3f

fixed yes or no

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import random
3
 
4
- def random_respond (message, history) :
5
- respond_options = ["yes","no"]
6
- return random.chioce(respond_options)
7
 
8
  chatbot = gr.ChatInterface(echo)
9
 
 
1
  import gradio as gr
2
  import random
3
 
4
+ def random_response (message, history) :
5
+ response_options = ["yes","no"]
6
+ return random.chioce(response_options)
7
 
8
  chatbot = gr.ChatInterface(echo)
9