sarahrobe commited on
Commit
14b041a
·
verified ·
1 Parent(s): af2e121

eight ball version

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 echo(message, history):
5
- my_list = ["yes", "no"]
6
  return random.choice(my_list)
7
  # gr.ChatInterface(echo, type = "messages")
8
  chatbot = gr.ChatInterface(fn=echo, type="messages", description ="<strong>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball")
 
2
  import random
3
 
4
  def echo(message, history):
5
+ my_list = ["absolutely", "ask again later", "things are murky", "it's a def yes", "perhaps"]
6
  return random.choice(my_list)
7
  # gr.ChatInterface(echo, type = "messages")
8
  chatbot = gr.ChatInterface(fn=echo, type="messages", description ="<strong>Welcome to your 8 ball.</strong><br>Ask Me Anything", title="Eight Ball")