limeiz commited on
Commit
0b38142
·
verified ·
1 Parent(s): 1f5a18e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,11 +2,11 @@ import gradio as gr
2
  import random
3
 
4
  def random_message(message, history):
5
- choices = ["yes", "no"]
6
  chat_answer = random.choice(choices)
7
  return chat_answer
8
 
9
  print("Hello, World!")
10
- chatbot = gr.ChatInterface(random_message, type = "messages", theme = "gradio/monochrome")
11
 
12
  chatbot.launch()
 
2
  import random
3
 
4
  def random_message(message, history):
5
+ choices = ["yes.", "no.", "it is certain","without a doubt","outlook good","ask again later", "better not tell you now","very doubtful","don't count on it","my sources say no","outlook not so good","very doubtful,"reply hazing, try again", "cannot predict now"]
6
  chat_answer = random.choice(choices)
7
  return chat_answer
8
 
9
  print("Hello, World!")
10
+ chatbot = gr.ChatInterface(random_message, type = "messages", theme = "xkcd", editable = True, title = "eightball" )
11
 
12
  chatbot.launch()