Spaces:
Runtime error
Runtime error
Commit
·
ac4da83
1
Parent(s):
f2fe0c9
added demo database
Browse files- db_func.py +1 -1
db_func.py
CHANGED
@@ -7,7 +7,7 @@ password = os.getenv("MONGO_DB_PASSWORD")
|
|
7 |
# Replace these with your MongoDB cluster connection details
|
8 |
mongo_uri = uri = f"mongodb+srv://{user_name}:{password}@cluster0.mrrq3sf.mongodb.net/?retryWrites=true&w=majority"
|
9 |
database_name = "ophthal-llm"
|
10 |
-
collection_name = "drvai-
|
11 |
|
12 |
|
13 |
def insert_one(document):
|
|
|
7 |
# Replace these with your MongoDB cluster connection details
|
8 |
mongo_uri = uri = f"mongodb+srv://{user_name}:{password}@cluster0.mrrq3sf.mongodb.net/?retryWrites=true&w=majority"
|
9 |
database_name = "ophthal-llm"
|
10 |
+
collection_name = "drvai-demo"
|
11 |
|
12 |
|
13 |
def insert_one(document):
|