Spaces:
Runtime error
Runtime error
sanjeevbora
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def test_rag(qa, query):
|
|
87 |
user_prompt = st.chat_input("Ask me anything about the content of the PDF(s):")
|
88 |
print("user input:", user_prompt)
|
89 |
if user_prompt:
|
90 |
-
print("user input after if condition: ",user_prompt)
|
91 |
st.session_state.messages.append({'role': 'user', "content": user_prompt})
|
92 |
books_retriever = test_rag(books_db_client_retriever, user_prompt)
|
93 |
print("books retriver:",books_retriever)
|
|
|
87 |
user_prompt = st.chat_input("Ask me anything about the content of the PDF(s):")
|
88 |
print("user input:", user_prompt)
|
89 |
if user_prompt:
|
90 |
+
print("user input after if condition: ", user_prompt)
|
91 |
st.session_state.messages.append({'role': 'user', "content": user_prompt})
|
92 |
books_retriever = test_rag(books_db_client_retriever, user_prompt)
|
93 |
print("books retriver:",books_retriever)
|