Spaces:
Sleeping
Sleeping
naveenvenkatesh
commited on
Commit
•
238975c
1
Parent(s):
f8a3bb0
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ class ChatDocumentQA:
|
|
246 |
response = agent_chain.run(input = message)
|
247 |
chat_history.append((message, response))
|
248 |
return "", chat_history
|
249 |
-
|
250 |
vectorstore = state["knowledge_base"]
|
251 |
chat = self._create_conversation_chain(vectorstore)
|
252 |
# user_ques = {"question": message}
|
|
|
246 |
response = agent_chain.run(input = message)
|
247 |
chat_history.append((message, response))
|
248 |
return "", chat_history
|
249 |
+
else:
|
250 |
vectorstore = state["knowledge_base"]
|
251 |
chat = self._create_conversation_chain(vectorstore)
|
252 |
# user_ques = {"question": message}
|