Sadiaa commited on
Commit
62e09b0
·
verified ·
1 Parent(s): e8ee3db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ username = 'laiba'
31
  password = 'VRwiQ8padD_gN8t'
32
  encoded_username = urllib.parse.quote_plus(username)
33
  encoded_password = urllib.parse.quote_plus(password)
34
- MONGODB_ATLAS_CLUSTER_URI = f'mongodb+srv://{encoded_username}:{encoded_password}@comsatsbot.jdfp3.mongodb.net/'
35
  client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
36
  db = client.get_database('chat_db') # Assume this is your database
37
  chats_collection = db.get_collection('chats') # Collection to store chats
 
31
  password = 'VRwiQ8padD_gN8t'
32
  encoded_username = urllib.parse.quote_plus(username)
33
  encoded_password = urllib.parse.quote_plus(password)
34
+ MONGODB_ATLAS_CLUSTER_URI = f'mongodb+srv://{encoded_username}:{encoded_password}@comsatsbot.04y7a.mongodb.net/'
35
  client = MongoClient(MONGODB_ATLAS_CLUSTER_URI)
36
  db = client.get_database('chat_db') # Assume this is your database
37
  chats_collection = db.get_collection('chats') # Collection to store chats