Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ MONGO_DB_NAME = os.getenv("MONGO_DB_NAME")
|
|
| 11 |
|
| 12 |
# Connect to MongoDB
|
| 13 |
client = MongoClient(MONGO_URI)
|
| 14 |
-
db =
|
| 15 |
vectors_collection = db["vector_collection"]
|
| 16 |
|
| 17 |
# Define a Pydantic model for vectors
|
|
|
|
| 11 |
|
| 12 |
# Connect to MongoDB
|
| 13 |
client = MongoClient(MONGO_URI)
|
| 14 |
+
db = MONGO_DB_NAME
|
| 15 |
vectors_collection = db["vector_collection"]
|
| 16 |
|
| 17 |
# Define a Pydantic model for vectors
|