codersoul commited on
Commit
778bec0
·
verified ·
1 Parent(s): 9500b4a

Updated the responses

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def random_response(message, history):
16
  max_tokens = 100
17
  )
18
  #response_options = ["yes", "no", "I need more cosmic energy to answer.", "Very doubtful.", "Signs point to yes."]
19
- return random.choice[0].message.content.strip()
20
 
21
  chatbot = gr.ChatInterface(random_response, title="Chatbot")
22
 
 
16
  max_tokens = 100
17
  )
18
  #response_options = ["yes", "no", "I need more cosmic energy to answer.", "Very doubtful.", "Signs point to yes."]
19
+ return random.choices[0].message.content.strip()
20
 
21
  chatbot = gr.ChatInterface(random_response, title="Chatbot")
22