Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ qa_chain = ConversationalRetrievalChain.from_llm(
|
|
106 |
def chat_interface(question):
|
107 |
|
108 |
answer = qa_chain.run({"question": question})
|
109 |
-
print("Debug:
|
110 |
|
111 |
# Check the structure of the result
|
112 |
if isinstance(answer, str):
|
|
|
106 |
def chat_interface(question):
|
107 |
|
108 |
answer = qa_chain.run({"question": question})
|
109 |
+
print("Debug: answer from qa_chain.run:", answer)
|
110 |
|
111 |
# Check the structure of the result
|
112 |
if isinstance(answer, str):
|