prthm11 commited on
Commit
f6dd1a0
·
verified ·
1 Parent(s): 8a5a9dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -414,8 +414,8 @@ def smart_join_router(prompt: str) -> str:
414
 
415
  def init_mongo_agent(json_path):
416
  global agent_executor, client, mongo_db, db_mode
417
-
418
- client = MongoClient("mongodb://localhost:27017/")
419
  mongo_db = client['uploaded_mongo']
420
  with open(json_path, 'r', encoding='utf-8') as f:
421
  data = json_util.loads(f.read())
 
414
 
415
  def init_mongo_agent(json_path):
416
  global agent_executor, client, mongo_db, db_mode
417
+ # client = MongoClient("mongodb://localhost:27017/")
418
+ client = MongoClient("mongodb+srv://dixitmwa:DixitWa%40123!@cluster0.qiysaz9.mongodb.net/")
419
  mongo_db = client['uploaded_mongo']
420
  with open(json_path, 'r', encoding='utf-8') as f:
421
  data = json_util.loads(f.read())