Spaces:
Runtime error
Runtime error
Commit
·
f2fe0c9
1
Parent(s):
63f06bb
added deployment 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 = "
|
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-deployment"
|
11 |
|
12 |
|
13 |
def insert_one(document):
|