Slfagrouche commited on
Commit
52a938b
·
verified ·
1 Parent(s): f809582

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -49,15 +49,15 @@ print("sys.path =", sys.path)
49
  my_pdfs = os.listdir(directory_path)
50
  my_pdfs
51
 
52
- # Connect to MongoDB Atlas cluster using the connection string.
53
- cluster = MongoClient(MONGO_URII)
54
 
55
- # Define the MongoDB database and collection name.
56
- DB_NAME = "pdfs"
57
- COLLECTION_NAME = "pdfs_collection"
58
 
59
- # Connect to the specific collection in the database.
60
- MONGODB_COLLECTION = cluster[DB_NAME][COLLECTION_NAME]
61
 
62
  vector_search_index = "vector_index"
63
 
 
49
  my_pdfs = os.listdir(directory_path)
50
  my_pdfs
51
 
52
+ # # Connect to MongoDB Atlas cluster using the connection string.
53
+ # cluster = MongoClient(MONGO_URII)
54
 
55
+ # # Define the MongoDB database and collection name.
56
+ # DB_NAME = "pdfs"
57
+ # COLLECTION_NAME = "pdfs_collection"
58
 
59
+ # # Connect to the specific collection in the database.
60
+ # MONGODB_COLLECTION = cluster[DB_NAME][COLLECTION_NAME]
61
 
62
  vector_search_index = "vector_index"
63