Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def init_chromadb():
|
|
71 |
# print(db.get()["metadatas"][x])
|
72 |
doc = vectorstore.get()["metadatas"][x]
|
73 |
source = doc["source"]
|
74 |
-
print(source)
|
75 |
|
76 |
def query_chromadb():
|
77 |
if not os.path.exists(DB_DIR):
|
@@ -92,7 +92,6 @@ def query_chromadb():
|
|
92 |
|
93 |
def main():
|
94 |
init_chromadb()
|
95 |
-
query_chromadb()
|
96 |
|
97 |
if __name__ == '__main__':
|
98 |
main()
|
|
|
71 |
# print(db.get()["metadatas"][x])
|
72 |
doc = vectorstore.get()["metadatas"][x]
|
73 |
source = doc["source"]
|
74 |
+
print("Source {x} :: ",source)
|
75 |
|
76 |
def query_chromadb():
|
77 |
if not os.path.exists(DB_DIR):
|
|
|
92 |
|
93 |
def main():
|
94 |
init_chromadb()
|
|
|
95 |
|
96 |
if __name__ == '__main__':
|
97 |
main()
|