Momal commited on
Commit
762d11a
·
1 Parent(s): 469c9fe

response fixed

Browse files
Files changed (1) hide show
  1. mental_health_raqa.py +3 -3
mental_health_raqa.py CHANGED
@@ -51,6 +51,6 @@ def mh_assistant(openai_key,query):
51
  )
52
 
53
  # Ask a question
54
- return qa_with_sources_chain({"query":query})
55
-
56
- # print(mh_assistant("sadfs",'what is mental health?'))
 
51
  )
52
 
53
  # Ask a question
54
+ res = qa_with_sources_chain({"query":query})
55
+ return (res['result'])
56
+ # (mh_assistant("sadfs",'what is mental health?'))