Ankush05 commited on
Commit
cd385b2
·
1 Parent(s): fde0ccd
Files changed (1) hide show
  1. home.py +3 -1
home.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  from streamlit_option_menu import option_menu
 
3
 
4
 
5
  def Create_Reminder():
@@ -12,7 +13,8 @@ def Create_Reminder():
12
  st.session_state["reminders"] = st.db["reminders"].insert_one({"message": message, "time": time, "date": date})
13
 
14
  if __name__ == "__main__":
15
- dashboard()
 
16
 
17
 
18
 
 
1
  import streamlit as st
2
  from streamlit_option_menu import option_menu
3
+ from pymongo import MongoClient
4
 
5
 
6
  def Create_Reminder():
 
13
  st.session_state["reminders"] = st.db["reminders"].insert_one({"message": message, "time": time, "date": date})
14
 
15
  if __name__ == "__main__":
16
+ st.db = MongoClient()
17
+ dashboard()
18
 
19
 
20