sarahrobe commited on
Commit
c423dbe
·
verified ·
1 Parent(s): b9a259e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ def echo(message, history):
5
  my_list = ["absolutely", "ask again later", "things are murky", "it's a def yes", "perhaps", "it is decidedly so", "without a doubt", "outlook not so good", "signs point to yes", "signs point to no"]
6
  return random.choice(my_list)
7
  # gr.ChatInterface(echo, type = "messages")
8
- chatbot = gr.ChatInterface(fn=echo, type="messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball")
9
 
10
 
11
  chatbot.launch()
 
5
  my_list = ["absolutely", "ask again later", "things are murky", "it's a def yes", "perhaps", "it is decidedly so", "without a doubt", "outlook not so good", "signs point to yes", "signs point to no"]
6
  return random.choice(my_list)
7
  # gr.ChatInterface(echo, type = "messages")
8
+ chatbot = gr.ChatInterface(echo, type="messages", description ="<strong><center>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball")
9
 
10
 
11
  chatbot.launch()