Spaces:
Sleeping
Sleeping
KrSharangrav
commited on
Commit
·
922ab20
1
Parent(s):
ba2af1a
change in mongodb client
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import pipeline
|
|
7 |
|
8 |
#### **1. MongoDB Connection**
|
9 |
def get_mongo_client():
|
10 |
-
client = MongoClient("mongodb+srv://
|
11 |
db = client["sentiment_db"]
|
12 |
return db["tweets"]
|
13 |
|
|
|
7 |
|
8 |
#### **1. MongoDB Connection**
|
9 |
def get_mongo_client():
|
10 |
+
client = MongoClient("mongodb+srv://groupA:pythongroupA@sentimentcluster.4usfj.mongodb.net/?retryWrites=true&w=majority&appName=SentimentCluster")
|
11 |
db = client["sentiment_db"]
|
12 |
return db["tweets"]
|
13 |
|