Spaces:
Running
Running
Change database name and give explicit MongoDB connection address
Browse files- chat_application/main.py +2 -2
chat_application/main.py
CHANGED
|
@@ -75,8 +75,8 @@ coolbot = "projects/700531062565/locations/us-central1/endpoints/170053162155324
|
|
| 75 |
frobot = "projects/700531062565/locations/us-central1/endpoints/2951406418055397376"
|
| 76 |
|
| 77 |
# MongoDB setup
|
| 78 |
-
client = MongoClient("mongodb://
|
| 79 |
-
db = client["
|
| 80 |
rooms_collection = db.rooms
|
| 81 |
|
| 82 |
# List of fruits to choose display names from
|
|
|
|
| 75 |
frobot = "projects/700531062565/locations/us-central1/endpoints/2951406418055397376"
|
| 76 |
|
| 77 |
# MongoDB setup
|
| 78 |
+
client = MongoClient("mongodb://127.0.0.1:27017/")
|
| 79 |
+
db = client["huggingFaceData"]
|
| 80 |
rooms_collection = db.rooms
|
| 81 |
|
| 82 |
# List of fruits to choose display names from
|