Nikhil0987 CosmoAI commited on
Commit
0cb4925
·
1 Parent(s): a25e70e

Update remainder.py (#5)

Browse files

- Update remainder.py (83dd3adc651143221dae60db34d020c21ea78548)


Co-authored-by: Sachin Verma <CosmoAI@users.noreply.huggingface.co>

Files changed (1) hide show
  1. remainder.py +4 -1
remainder.py CHANGED
@@ -2,10 +2,13 @@ import streamlit as st
2
  import json
3
  import uuid
4
  import os
 
5
 
6
  uri = os.environ["MONGO_CONNECTION_STRING"]
7
- client = MongoClient(uri,tlsCertificateKeyFile)= "cert.pem"
8
 
 
 
9
 
10
  def rem():
11
  st.title("Reminders")
 
2
  import json
3
  import uuid
4
  import os
5
+ from pymongo import MongoClient
6
 
7
  uri = os.environ["MONGO_CONNECTION_STRING"]
8
+ client = MongoClient(uri,tlsCertificateKeyFile= "cert.pem")
9
 
10
+ db = client["mydata"]
11
+ col = db["Reminders"]
12
 
13
  def rem():
14
  st.title("Reminders")