Rohit
commited on
Commit
·
dfeb40a
1
Parent(s):
6119fd6
newmake
Browse files- Auth.py +1 -3
- requirements.txt +0 -0
Auth.py
CHANGED
|
@@ -1,15 +1,13 @@
|
|
| 1 |
-
import os
|
| 2 |
from dotenv import load_dotenv
|
| 3 |
from pymongo.mongo_client import MongoClient
|
| 4 |
import streamlit as st
|
| 5 |
-
import json
|
| 6 |
from streamlit_option_menu import option_menu
|
| 7 |
|
| 8 |
st.set_page_config(page_title="Reminder App", page_icon=":bell:", layout="centered")
|
| 9 |
|
| 10 |
load_dotenv()
|
| 11 |
|
| 12 |
-
uri =
|
| 13 |
|
| 14 |
# create a new client and connect to the server
|
| 15 |
client = MongoClient(uri)
|
|
|
|
|
|
|
| 1 |
from dotenv import load_dotenv
|
| 2 |
from pymongo.mongo_client import MongoClient
|
| 3 |
import streamlit as st
|
|
|
|
| 4 |
from streamlit_option_menu import option_menu
|
| 5 |
|
| 6 |
st.set_page_config(page_title="Reminder App", page_icon=":bell:", layout="centered")
|
| 7 |
|
| 8 |
load_dotenv()
|
| 9 |
|
| 10 |
+
uri = st.secrets["MONGO_CONNECTION_STRING"]
|
| 11 |
|
| 12 |
# create a new client and connect to the server
|
| 13 |
client = MongoClient(uri)
|
requirements.txt
ADDED
|
Binary file (96 Bytes). View file
|
|
|