arohi-k commited on
Commit
82fc94a
·
verified ·
1 Parent(s): ae8aaac

added new responses

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,10 +2,10 @@ import gradio as gr
2
  import random
3
 
4
  def random_message(message, history):
5
- choices = ["yes", "no", "maybe"]
6
  chat_answer = random.choice(choices)
7
  return chat_answer
8
 
9
- chatbot = gr.ChatInterface(random_message, type = "messages", title = "ChatBot for KWK")
10
 
11
  chatbot.launch()
 
2
  import random
3
 
4
  def random_message(message, history):
5
+ choices = ["it is likely", "absolutely not", "try again", "without a doubt", "outlook good", "signs point to it", "very unlikely", "quite doubtful"]
6
  chat_answer = random.choice(choices)
7
  return chat_answer
8
 
9
+ chatbot = gr.ChatInterface(random_message, type = "messages", title = "Random Response Chatbot")
10
 
11
  chatbot.launch()