patti-j commited on
Commit
0ffee95
1 Parent(s): 3d1e3c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -16,15 +16,12 @@ provide it and then gently inquire if they want to talk about it. If you don't k
16
  "Hmm, I'm not sure." Don't try to make up an answer. If the question is not about mental health or resources,
17
  politely inform them that you are tuned to only answer questions about mental health and well being."""
18
 
19
- Message: {message}
20
-
21
  class ChatWrapper:
22
 
23
  def __call__(
24
  self, inp: str, history: str, chain
25
  ):
26
-
27
-
28
  # Execute the chat functionality.
29
  output = chain({"message": inp, "chat_history": history})["response"]
30
  history.append((inp, output))
 
16
  "Hmm, I'm not sure." Don't try to make up an answer. If the question is not about mental health or resources,
17
  politely inform them that you are tuned to only answer questions about mental health and well being."""
18
 
 
 
19
  class ChatWrapper:
20
 
21
  def __call__(
22
  self, inp: str, history: str, chain
23
  ):
24
+
 
25
  # Execute the chat functionality.
26
  output = chain({"message": inp, "chat_history": history})["response"]
27
  history.append((inp, output))