arohi-k commited on
Commit
e226838
·
verified ·
1 Parent(s): 1812f55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,10 +27,10 @@ def respond(message, history):
27
  response += token
28
  yield response
29
 
30
- def random_message(message, history):
31
- choices = ["it is likely", "absolutely not", "try again", "without a doubt", "outlook good", "signs point to it", "very unlikely", "quite doubtful"]
32
- chat_answer = random.choice(choices)
33
- return chat_answer
34
 
35
  chatbot = gr.ChatInterface(respond, type = "messages")
36
 
 
27
  response += token
28
  yield response
29
 
30
+ #def random_message(message, history):
31
+ #choices = ["it is likely", "absolutely not", "try again", "without a doubt", "outlook good", "signs point to it", "very unlikely", "quite doubtful"]
32
+ #chat_answer = random.choice(choices)
33
+ #return chat_answer
34
 
35
  chatbot = gr.ChatInterface(respond, type = "messages")
36