Saachi-S123 commited on
Commit
ea10ecc
·
verified ·
1 Parent(s): 0a87862

responses = ...

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import random
3
 
4
  def respond_yes_or_no(message, history):
5
- random.choices (["yes", "girl no"])
6
  return random.choice (responses)
7
 
8
  chatbot = gr.ChatInterface(respond_yes_or_no, type='messages')
 
2
  import random
3
 
4
  def respond_yes_or_no(message, history):
5
+ responses = random.choices (["yes", "girl no"])
6
  return random.choice (responses)
7
 
8
  chatbot = gr.ChatInterface(respond_yes_or_no, type='messages')