maahikachitagi commited on
Commit
c43223e
·
verified ·
1 Parent(s): 8439373

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def echo(message, history):
5
  choices = ["yes", "no"]
6
  response = random.choice(choices)
7
  return response
8
- chatbot = gr.ChatInterface(echo, type = "messages", examples = ["hola","ur mom","heyy!!"], title = "echo bot")
9
  chatbot.launch()
 
5
  choices = ["yes", "no"]
6
  response = random.choice(choices)
7
  return response
8
+ chatbot = gr.ChatInterface(echo, type = "messages", examples = [{"who":"user","what":"Hello!"},{"who":"ai","what":"Hi! How are you doing?"}], title = "echo bot")
9
  chatbot.launch()