Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -274,7 +274,7 @@ def main():
|
|
| 274 |
if user_query:
|
| 275 |
st.markdown("<p style='color: #1E3A8A;'>Retrieving answer...</p>", unsafe_allow_html=True)
|
| 276 |
try:
|
| 277 |
-
response, source_documents = qa_system.run(user_query, return_source_documents=True)
|
| 278 |
st.markdown("<h4 style='color: #1E3A8A;'>Answer:</h4>", unsafe_allow_html=True)
|
| 279 |
st.write(response)
|
| 280 |
|
|
|
|
| 274 |
if user_query:
|
| 275 |
st.markdown("<p style='color: #1E3A8A;'>Retrieving answer...</p>", unsafe_allow_html=True)
|
| 276 |
try:
|
| 277 |
+
response, source_documents = qa_system.run(query=user_query, return_source_documents=True)
|
| 278 |
st.markdown("<h4 style='color: #1E3A8A;'>Answer:</h4>", unsafe_allow_html=True)
|
| 279 |
st.write(response)
|
| 280 |
|