Spaces:
Runtime error
Runtime error
response fixed
Browse files- 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 |
-
|
| 55 |
-
|
| 56 |
-
#
|
|
|
|
| 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?'))
|