clarissah commited on
Commit
414fe07
·
verified ·
1 Parent(s): 0ba5257

Updated theme and added more respnses

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 echo(message, history):
5
- choices = ["yes", "ummmmm no no no", "sure", ".....I think you need to rethink your choices", "you deserve a sweet treat for that"]
6
  #use random to select one of these choices
7
  random_message = random.choice(choices)
8
  return random_message
9
 
10
- chatbot = gr.ChatInterface(echo, type = "messages", theme = "soft")
11
 
12
  chatbot.launch()
 
2
  import random
3
 
4
  def echo(message, history):
5
+ choices = ["yes", "ummmmm no no no", "sure", ".....I think you need to rethink your choices", "you deserve a sweet treat", "I don't think so"]
6
  #use random to select one of these choices
7
  random_message = random.choice(choices)
8
  return random_message
9
 
10
+ chatbot = gr.ChatInterface(echo, type = "messages", theme = "calm_seafoam")
11
 
12
  chatbot.launch()