ppsingh commited on
Commit
e32cfe4
1 Parent(s): bcd119c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ async def chat(query,history,sources,reports,subtype,year):
104
 
105
  ##------------------------decide which collection to fetch------------------------------
106
  if len(reports) == 0:
107
- vectorstore = vectorstores[source]
108
  else:
109
  vectorstore = vectorstores["allreports"]
110
 
 
104
 
105
  ##------------------------decide which collection to fetch------------------------------
106
  if len(reports) == 0:
107
+ vectorstore = vectorstores[sources]
108
  else:
109
  vectorstore = vectorstores["allreports"]
110