ppsingh commited on
Commit
84c6152
1 Parent(s): c9c0ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ async def chat(query,history,sources,reports):
49
  if len(reports) == 0:
50
  reports = []
51
 
52
- if sources == ["Ministry"]:
53
  vectorstore = vectorstores["MWTS"]
54
  else:
55
  vectorstore = vectorstores["Consolidated"]
 
49
  if len(reports) == 0:
50
  reports = []
51
 
52
+ if sources == "Ministry":
53
  vectorstore = vectorstores["MWTS"]
54
  else:
55
  vectorstore = vectorstores["Consolidated"]