tjwrld commited on
Commit
fcf3d8f
·
verified ·
1 Parent(s): 9e21a30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ if page == "Home":
180
 
181
  if page == "MongoDb":
182
  try:
183
- client = MongoClient("mongodb+srv://gojochan31:simple1234@cluster0.b0msc.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
184
  db = client['resume_database']
185
  collection = db['resumes']
186
  st.success("Connected to MongoDB Atlas!")
 
180
 
181
  if page == "MongoDb":
182
  try:
183
+ client = MongoClient(os.environ["MONGO_API_KEY"])
184
  db = client['resume_database']
185
  collection = db['resumes']
186
  st.success("Connected to MongoDB Atlas!")