sarahrobe commited on
Commit
6ece288
·
verified ·
1 Parent(s): 713abda

playing around with title

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import random
4
  def echo(message, history):
5
  my_list = ["yes", "no"]
6
  return random.choice(my_list)
7
-
8
- chatbot = gr.ChatInterface(echo, type = "messages")
9
 
10
 
11
  chatbot.launch()
 
4
  def echo(message, history):
5
  my_list = ["yes", "no"]
6
  return random.choice(my_list)
7
+ # gr.ChatInterface(echo, type = "messages")
8
+ chatbot = ChatInterface(fn=echo, type="messages", examples=["hello", "hola", "merhaba"], title="Echo Bot")
9
 
10
 
11
  chatbot.launch()