Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
4cc5bac
1
Parent(s):
7a99266
ping
Browse files- src/streamlit_app.py +0 -1
src/streamlit_app.py
CHANGED
@@ -10,7 +10,6 @@ st.set_page_config(layout="wide")
|
|
10 |
|
11 |
@st.cache_resource
|
12 |
def init_conn():
|
13 |
-
# Try to get from environment variable first, fall back to secrets
|
14 |
uri = os.getenv('MONGO_URI')
|
15 |
if not uri:
|
16 |
uri = st.secrets['mongo_uri']
|
|
|
10 |
|
11 |
@st.cache_resource
|
12 |
def init_conn():
|
|
|
13 |
uri = os.getenv('MONGO_URI')
|
14 |
if not uri:
|
15 |
uri = st.secrets['mongo_uri']
|